shithub: rott

Download patch

ref: 7a4107f146626eb7577ba22470815377e9d57985
parent: 4b1aff50b5700d5c69ffab921511f4106d1a6962
author: LTCHIPS <ltchips994@gmail.com>
date: Tue Jun 12 17:06:13 EDT 2018

fixed screen not showing ingame after saving using quicksave for the first time during session

--- a/src/rt_main.c
+++ b/src/rt_main.c
@@ -1080,9 +1080,7 @@
         case ex_titles:
 
             BATTLE_Shutdown();
-            SDL_SetRelativeMouseMode(SDL_FALSE);
             MU_StartSong(song_title);
-            SDL_SetRelativeMouseMode(SDL_TRUE);
             EnableScreenStretch();
             if ((NoWait==false)&&(!modemgame))
             {
@@ -1528,7 +1526,6 @@
 }
 
 boolean CheckForQuickLoad  (void )
-
 {
     EnableScreenStretch();//bna++
     if ( pickquick )
--- a/src/rt_menu.c
+++ b/src/rt_menu.c
@@ -1890,6 +1890,11 @@
         break;
 
     }
+    
+    if (playstate == ex_stillplaying)
+    {
+        DisableScreenStretch();
+    }
 
     CleanUpControlPanel();
     ShutdownMenuBuf();