cleanup of game mode handling
[rocksndiamonds.git] / src / tools.c
index 52a562fbc6c90d700438cbbeab36f178ad0e927f..7e8806e54f67fd3e2e9055f631bee2229863b15b 100644 (file)
@@ -330,8 +330,8 @@ void DrawMaskedBorder_ALL()
 void DrawMaskedBorder(int redraw_mask)
 {
   /* never draw masked screen borders on borderless screens */
-  if (effectiveGameStatus() == GAME_MODE_LOADING ||
-      effectiveGameStatus() == GAME_MODE_TITLE)
+  if (game_status == GAME_MODE_LOADING ||
+      game_status == GAME_MODE_TITLE)
     return;
 
   if (redraw_mask & REDRAW_ALL)