mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-16 08:38:07 +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 = "";
|
const char *placeName = "";
|
||||||
|
|
||||||
if (pev->deadflag == DEAD_NO && AreRunningCZero())
|
if (pev->deadflag == DEAD_NO && AreBotsAllowed())
|
||||||
{
|
{
|
||||||
// search the place name where is located the player
|
// search the place name where is located the player
|
||||||
Place playerPlace = TheNavAreaGrid.GetPlace(&pev->origin);
|
Place playerPlace = TheNavAreaGrid.GetPlace(&pev->origin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user