@@ -795,6 +795,7 @@ class Bot
795
795
Vector m_lastWallOrigin; // for better zombie avoiding
796
796
797
797
bool m_isStuck; // bot is stuck
798
+ bool m_isBlocked; // bot is blocked by players
798
799
bool m_isReloading; // bot is reloading a gun
799
800
int m_reloadState; // current reload state
800
801
int m_voicePitch; // bot voice pitch
@@ -1163,7 +1164,7 @@ class Bot
1163
1164
void EquipInBuyzone (int buyCount);
1164
1165
void PushMessageQueue (int message);
1165
1166
void PrepareChatMessage (char * text);
1166
- int FindWaypoint ();
1167
+ int FindWaypoint (bool skipLag = true );
1167
1168
bool EntityIsVisible (Vector dest, bool fromBody = false );
1168
1169
1169
1170
void SetEnemy (edict_t * entity);
@@ -1382,7 +1383,6 @@ class Waypoint : public Singleton <Waypoint>
1382
1383
1383
1384
int GetFacingIndex (void );
1384
1385
int FindFarest (const Vector& origin, float maxDistance = 9999.0 );
1385
- int FindSafestForHuman (edict_t * enemy, edict_t * self, float maxDistance);
1386
1386
int FindNearest (Vector origin, float minDistance = 9999.0 , int flags = -1 , edict_t * entity = null, int * findWaypointPoint = (int *)-2, int mode = -1);
1387
1387
void FindInRadius (Vector origin, float radius, int * holdTab, int * count);
1388
1388
void FindInRadius (Array <int >& queueID, float radius, Vector origin);
0 commit comments