Mark enemy sensing / hearing stuff as heavyweight.

This commit is contained in:
jeefo 2019-09-15 21:07:49 +03:00
commit bee9653a71
4 changed files with 18 additions and 2 deletions

View file

@ -582,6 +582,7 @@ private:
float m_headedTime;
float m_prevTime; // time previously checked movement speed
float m_heavyTimestamp; // is it time to execute heavy-weight functions
float m_prevSpeed; // speed some frames before
float m_timeDoorOpen; // time to next door open check
float m_lastChatTime; // time bot last chatted
@ -758,6 +759,7 @@ private:
bool isReachableNode (int index);
bool updateLiftHandling ();
bool updateLiftStates ();
bool canRunHeavyWeight ();
void instantChatter (int type);
void update ();