File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/System
Generals/Code/GameEngine/Source/GameLogic/System Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2155,7 +2155,7 @@ void GameLogic::loadMapINI( AsciiString mapName )
21552155 // the pristine map name string in order to manipulate and load the right map.ini
21562156 // for that map from it's original location
21572157 //
2158- const char * pristineMapName = TheGameState->isInSaveDirectory (filename )
2158+ const char * pristineMapName = TheGameState->isInSaveDirectory (mapName. str () )
21592159 ? TheGameState->getSaveGameInfo ()->pristineMapName .str ()
21602160 : mapName.str ();
21612161
Original file line number Diff line number Diff line change @@ -2472,7 +2472,7 @@ void GameLogic::loadMapINI( AsciiString mapName )
24722472 // the pristine map name string in order to manipulate and load the right map.ini
24732473 // for that map from it's original location
24742474 //
2475- const char * pristineMapName = TheGameState->isInSaveDirectory (filename )
2475+ const char * pristineMapName = TheGameState->isInSaveDirectory (mapName. str () )
24762476 ? TheGameState->getSaveGameInfo ()->pristineMapName .str ()
24772477 : mapName.str ();
24782478
You can’t perform that action at this time.
0 commit comments