diff mm7_1.cpp @ 265:96bc024a5fed

Render overflows
author Nomad
date Mon, 18 Feb 2013 10:04:47 +0200
parents 0a37a56e9f02
children 006188b68143
line wrap: on
line diff
--- a/mm7_1.cpp	Mon Feb 18 09:20:47 2013 +0200
+++ b/mm7_1.cpp	Mon Feb 18 10:04:47 2013 +0200
@@ -6198,18 +6198,18 @@
 }
 
 //----- (004226C2) --------------------------------------------------------
-bool __cdecl sub_4226C2()
+bool PauseGameDrawing()
 {
-  if ( pCurrentScreen
+  if ( pCurrentScreen != SCREEN_GAME
     && pCurrentScreen != SCREEN_NPC_DIALOGUE
     && pCurrentScreen != SCREEN_CHANGE_LOCATION )
   {
     if ( pCurrentScreen == SCREEN_INPUT_BLV )
       return pVideoPlayer->pSmackerMovie != 0;
     if ( pCurrentScreen != SCREEN_BRANCHLESS_NPC_DIALOG )
-      return 1;
-  }
-  return 0;
+      return true;
+  }
+  return false;
 }
 // 4E28F8: using guessed type int pCurrentScreen;