mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +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);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user