File tree Expand file tree Collapse file tree
Core/GameEngine/Source/GameClient/GUI Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1990,7 +1990,8 @@ void MapTransferLoadScreen::init( GameInfo *game )
19901990 GadgetStaticTextSetText (m_progressText[netSlot], UnicodeString::TheEmptyString );
19911991 m_progressText[netSlot]->winSetEnabledTextColors (houseColor, m_progressText[netSlot]->winGetEnabledTextBorderColor ());
19921992
1993- if ((i == 0 || (TheGameInfo->getConstSlot (i)->isHuman () && TheGameInfo->getConstSlot (i)->hasMap ())) && m_progressBars[netSlot])
1993+ const GameSlot *gameInfoSlot = TheGameInfo->getConstSlot (i);
1994+ if ((i == 0 || (gameInfoSlot && gameInfoSlot->isHuman () && gameInfoSlot->hasMap ())) && m_progressBars[netSlot])
19941995 m_progressBars[netSlot]->winHide (TRUE );
19951996
19961997 m_playerLookup[i] = netSlot; // save our mapping so we can update progress correctly
You can’t perform that action at this time.
0 commit comments