Engine:
authorsmxx
Sun, 04 Apr 2010 16:38:00 +0000
changeset 3304 8690a3aa93b5
parent 3303 397a8f048bb3
child 3305 91074496d5c9
Engine: * Show active rules/modes while the game is syncing, paused or while the quit confirmation is shown
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sun Apr 04 15:51:19 2010 +0000
+++ b/hedgewars/uWorld.pas	Sun Apr 04 16:38:00 2010 +0000
@@ -742,7 +742,7 @@
 if fastUntilLag then DrawCentered(0, (cScreenHeight shr 1), SyncTexture);
 if isPaused then DrawCentered(0, (cScreenHeight shr 1), PauseTexture);
 
-if not isFirstFrame and (missionTimer <> 0) then
+if not isFirstFrame and ((missionTimer <> 0) or isPaused or fastUntilLag or (GameState = gsConfirm)) then
     begin
     if missionTimer > 0 then dec(missionTimer, Lag);
     if missionTimer < 0 then missionTimer:= 0; // avoid subtracting below 0