mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 15:48:01 +03:00
Fix crash
This commit is contained in:
parent
8c14d05168
commit
279bd6421b
@ -10113,7 +10113,7 @@ void CBasePlayer::UpdateLocation(bool forceUpdate)
|
|||||||
placeName = TheNavAreaGrid.IDToName(playerPlace);
|
placeName = TheNavAreaGrid.IDToName(playerPlace);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!placeName[0] || (m_lastLocation[0] && !Q_strcmp(placeName, &m_lastLocation[1])))
|
if (!placeName || !placeName[0] || (m_lastLocation[0] && !Q_strcmp(placeName, &m_lastLocation[1])))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user