mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Enable location feature if bots allowed or listen server is running
This commit is contained in:
parent
ad13545dac
commit
c526fa5885
@ -9931,7 +9931,7 @@ void CBasePlayer::UpdateLocation(bool forceUpdate)
|
||||
|
||||
const char *placeName = "";
|
||||
|
||||
if (pev->deadflag == DEAD_NO && AreRunningCZero())
|
||||
if (pev->deadflag == DEAD_NO && AreBotsAllowed())
|
||||
{
|
||||
// search the place name where is located the player
|
||||
Place playerPlace = TheNavAreaGrid.GetPlace(&pev->origin);
|
||||
|
Loading…
Reference in New Issue
Block a user