Remove unreferenced stuff.
This commit is contained in:
parent
f673f5cd0a
commit
6b3c7e413f
2 changed files with 1 additions and 3 deletions
|
|
@ -884,8 +884,6 @@ public:
|
|||
float m_nextEmotionUpdate; // next time to sanitize emotions
|
||||
float m_updateTime; // skip some frames in bot thinking
|
||||
float m_updateInterval; // interval between frames
|
||||
float m_viewFps; // time to update bots vision
|
||||
float m_viewUpdateInterval; // interval to update bot vision
|
||||
float m_goalValue; // ranking value for this node
|
||||
float m_viewDistance; // current view distance
|
||||
float m_maxViewDistance; // maximum view distance
|
||||
|
|
|
|||
|
|
@ -1162,7 +1162,7 @@ void Bot::attackMovement () {
|
|||
}
|
||||
|
||||
if (m_fightStyle == Fight::Stay || (m_duckTime > game.time () || m_sniperStopTime > game.time ())) {
|
||||
if (m_moveSpeed > 0.0f) {
|
||||
if (m_moveSpeed > 0.0f && m_currentWeapon != Weapon::Knife) {
|
||||
m_moveSpeed = 0.0f;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue