Fixed crashes and potential weirdness when loading savegames from a Homeworld encounter screen
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3169 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.7:
|
||||
- Fixed crashes and potential weirdness when loading savegames from
|
||||
a Homeworld encounter screen - Alex
|
||||
- Cleanup of GLOBAL(ShipStamp.frame) abuse; fixes bug #1054 - Alex
|
||||
- Game attempts to exit cleanly under normal circustances (bug #52) - Alex
|
||||
- Fixed Mmrnmhrm's X-Form transformation without energy use (bug #1004) - Alex
|
||||
|
||||
@@ -1531,9 +1531,13 @@ UninitSolarSys (void)
|
||||
if (GLOBAL (CurrentActivity) & END_INTERPLANETARY)
|
||||
{
|
||||
GLOBAL (CurrentActivity) &= ~END_INTERPLANETARY;
|
||||
(*pSolarSysState->GenFunc) (UNINIT_NPCS);
|
||||
|
||||
SET_GAME_STATE (USED_BROADCASTER, 0);
|
||||
|
||||
if (!(GLOBAL (CurrentActivity) & (CHECK_ABORT | CHECK_LOAD)))
|
||||
{ // These are game state changing ops and so cannot be
|
||||
// called once another game has been loaded!
|
||||
(*pSolarSysState->GenFunc) (UNINIT_NPCS);
|
||||
SET_GAME_STATE (USED_BROADCASTER, 0);
|
||||
}
|
||||
}
|
||||
else if ((GLOBAL (CurrentActivity) & START_ENCOUNTER) && EncounterGroup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user