diff --git a/Options Screen.cpp b/Options Screen.cpp index 10c0b0f2c..4f7462f9d 100644 --- a/Options Screen.cpp +++ b/Options Screen.cpp @@ -43,7 +43,7 @@ #include "Cheats.h" #include "connect.h" #include "WorldMan.h" - +#include "Init.h" #include "Game Events.h" #include "PostalService.h" extern CPostalService gPostalService; @@ -865,6 +865,12 @@ void ExitOptionsScreen() EnterTacticalScreen( ); } + if (guiOptionsScreen == SAVE_LOAD_SCREEN && guiPreviousOptionScreen == MAINMENU_SCREEN) + { + giMAXIMUM_NUMBER_OF_PLAYER_SLOTS = CODE_MAXIMUM_NUMBER_OF_PLAYER_SLOTS; + InitDependingGameStyleOptions(); + } + RemoveButton( guiOptGotoSaveGameBtn ); RemoveButton( guiOptGotoLoadGameBtn ); RemoveButton( guiQuitButton );