Proper fix.

This commit is contained in:
onpon4 2015-04-05 17:26:37 -04:00
parent 970a6fda7f
commit 3346af8299
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
build
dist
*.o *.o
*.pak *.pak
starfighter starfighter

View File

@ -907,9 +907,9 @@ void missionFinishedScreen()
currentGame.timeTaken += engine.timeTaken; currentGame.timeTaken += engine.timeTaken;
snprintf(temp, sizeof temp, "Mission Time: %2d:%02d:%02d", snprintf(temp, sizeof temp, "Mission Time: %2ld:%02ld:%02ld",
(int)(engine.timeTaken / 3600), engine.timeTaken / 3600, (engine.timeTaken / 60) % 60,
(int)((engine.timeTaken / 60) % 60), (int)(engine.timeTaken % 60)); engine.timeTaken % 60);
drawString(temp, -1, 500, FONT_WHITE); drawString(temp, -1, 500, FONT_WHITE);