combat: only move back if there's no wall behind the bot
This commit is contained in:
parent
d121f2a163
commit
587064e897
3 changed files with 25 additions and 5 deletions
|
|
@ -400,6 +400,7 @@ private:
|
|||
bool isBlockedRight ();
|
||||
bool checkWallOnLeft ();
|
||||
bool checkWallOnRight ();
|
||||
bool checkWallOnBehind ();
|
||||
bool updateNavigation ();
|
||||
bool isEnemyThreat ();
|
||||
bool isWeaponRestricted (int wid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue