From 9d43547982c69543be96a09224a00e558ae9999a Mon Sep 17 00:00:00 2001 From: onpon4 Date: Thu, 26 Feb 2015 19:27:38 -0500 Subject: [PATCH] Small fix to credits. --- data/credits.txt | 6 ++---- src/player.cpp | 2 +- src/title.cpp | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/data/credits.txt b/data/credits.txt index 400a6fb..e41e357 100644 --- a/data/credits.txt +++ b/data/credits.txt @@ -1,9 +1,7 @@ And so it was that in the year 2579 the galactic weapons corporation -WEAPCO was defeated. The people rejoiced that the darkness had -been lifted and once again the galaxy knew freedom. -Their prayers had been answered thanks to the valiant efforts of a few determined +WEAPCO was defeated thanks to the valiant efforts of a few determined individuals; A cause that would be remembered throughout the rest of -human history as Project: Starfighter +human history as Project: Starfighter. 158 000 +++ CAST +++ 030 Chris Bainfield diff --git a/src/player.cpp b/src/player.cpp index 1718400..d60296a 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -325,7 +325,7 @@ void getPlayerInput() break; case SDL_KEYUP: - if (engine.event.key.keysym.sym != SDLK_p && engine.event.key.keysym.sym != SDLK_t) + if (engine.event.key.keysym.sym != SDLK_p) engine.keyState[mapkey(engine.event.key.keysym.sym)] = 0; break; diff --git a/src/title.cpp b/src/title.cpp index 2ddd4bd..2406593 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -676,7 +676,7 @@ void doCredits() fp = fopen("data/credits.txt", "rb"); - for (int i = 0 ; i < 6 ; i++) + for (int i = 0 ; i < 4 ; i++) { fscanf(fp, "%[^\n]%*c", text); drawString(text, -1, 240 + (i * 20), FONT_WHITE); @@ -704,7 +704,7 @@ void doCredits() } updateScreen(); - SDL_Delay(10000); + SDL_Delay(20000); drawBackGround(); engine.done = 0;