hedgewars/uWorld.pas
changeset 9670 1954f692e8c6
parent 9666 8dcb25112d96
child 9686 352393fc75be
child 9693 9e31e3bb4476
--- a/hedgewars/uWorld.pas	Sun Nov 03 22:37:41 2013 +0400
+++ b/hedgewars/uWorld.pas	Sun Nov 03 22:39:00 2013 +0400
@@ -979,7 +979,7 @@
     //glPushMatrix;
     //glScalef(1.0, 1.0, 1.0);
 
-    if (not isPaused) and (GameType <> gmtRecord) then
+    if (not isPaused) and (not isAFK) and (GameType <> gmtRecord) then
         MoveCamera;
 
     if cStereoMode = smNone then
@@ -1555,6 +1555,8 @@
     DrawTextureCentered(0, (cScreenHeight shr 1), SyncTexture);
 if isPaused then
     DrawTextureCentered(0, (cScreenHeight shr 1), PauseTexture);
+if isAFK then
+    DrawTextureCentered(0, (cScreenHeight shr 1), AFKTexture);
 if not isFirstFrame and (missionTimer <> 0) or isPaused or fastUntilLag or (GameState = gsConfirm) then
     begin
     if (ReadyTimeLeft = 0) and (missionTimer > 0) then