Skip to content

Commit 6913185

Browse files
committed
Changed conditional for seed value.
1 parent 45fa3ea commit 6913185

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/QuitMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static void restartMissionMenu()
202202

203203
// TheSuperHackers @bugfix Caball009 07/02/2026 Reuse the previous seed value for the new skirmish match to prevent mismatches.
204204
// Campaign, challenge, and skirmish single-player scenarios all use GAME_SINGLE_PLAYER and are expected to use 0 as seed value.
205-
const UnsignedInt seed = (gameMode == GAME_SKIRMISH) ? TheSkirmishGameInfo->getSeed() : 0;
205+
const UnsignedInt seed = (TheSkirmishGameInfo) ? TheSkirmishGameInfo->getSeed() : 0;
206206

207207
//
208208
// if the map name was from a save game it will have "Save/" at the front of it,

0 commit comments

Comments
 (0)