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 @@ -1986,7 +1986,8 @@ void MapTransferLoadScreen::init( GameInfo *game )
19861986 GadgetStaticTextSetText (m_progressText[netSlot], UnicodeString::TheEmptyString );
19871987 m_progressText[netSlot]->winSetEnabledTextColors (houseColor, m_progressText[netSlot]->winGetEnabledTextBorderColor ());
19881988
1989- if ((i == 0 || (TheGameInfo->getConstSlot (i)->isHuman () && TheGameInfo->getConstSlot (i)->hasMap ())) && m_progressBars[netSlot])
1989+ const GameSlot *gameInfoSlot = TheGameInfo->getConstSlot (i);
1990+ if ((i == 0 || (gameInfoSlot && gameInfoSlot->isHuman () && gameInfoSlot->hasMap ())) && m_progressBars[netSlot])
19901991 m_progressBars[netSlot]->winHide (TRUE );
19911992
19921993 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