Skip to content

Commit

Permalink
Enable location feature if bots allowed or listen server is running
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jul 15, 2023
1 parent ad13545 commit c526fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c526fa5

Please sign in to comment.