No more crashing on map change with dummy

This commit is contained in:
def 2014-05-10 20:25:29 +02:00
parent 25cfa741e5
commit c0be97b8c3

View file

@ -1349,6 +1349,9 @@ void CClient::ProcessServerPacket(CNetChunk *pPacket)
if(Unpacker.Error())
return;
g_Config.m_ClDummy = 0;
m_DummyConnected = false;
// check for valid standard map
if(!m_MapChecker.IsMapValid(pMap, MapCrc, MapSize))
pError = "invalid standard map";