fixed bug with FPS display forcing redraw for every frame (debug mode only)
authorHolger Schemel <info@artsoft.org>
Sat, 7 Oct 2017 19:12:48 +0000 (21:12 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 7 Oct 2017 19:12:48 +0000 (21:12 +0200)
src/game.c

index 8978e70750489ebe4c15af503f0d3ae9c461537c..bc402eca62cde8020db29942716fa85d592a1b5b 100644 (file)
@@ -11226,9 +11226,9 @@ void GameActionsExt()
 
       fps_frames = 0;
       fps_counter = Counter();
-    }
 
-    redraw_mask |= REDRAW_FPS;
+      redraw_mask |= REDRAW_FPS;
+    }
   }
 }