Proper fix.
This commit is contained in:
parent
970a6fda7f
commit
3346af8299
|
@ -1,3 +1,5 @@
|
||||||
|
build
|
||||||
|
dist
|
||||||
*.o
|
*.o
|
||||||
*.pak
|
*.pak
|
||||||
starfighter
|
starfighter
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue