Fix: Don't crash when standing on start line and connecting dummy

This commit is contained in:
def 2014-06-05 16:28:59 +02:00
parent 6267c84ad8
commit c4dac1b0cd

View file

@ -274,7 +274,8 @@ void CGhost::StartRecord()
m_Recording = true;
m_CurGhost.m_Path.clear();
CNetObj_ClientInfo *pInfo = (CNetObj_ClientInfo *) Client()->SnapFindItem(IClient::SNAP_CURRENT, NETOBJTYPE_CLIENTINFO, m_pClient->m_Snap.m_LocalClientID);
m_CurGhost.m_Info = *pInfo;
if (pInfo)
m_CurGhost.m_Info = *pInfo;
}
void CGhost::StopRecord()