bot: prevent creature-bots from flashlight usage (ref #563)
This commit is contained in:
parent
dca15519b7
commit
e6b192a80d
1 changed files with 1 additions and 1 deletions
|
|
@ -3205,7 +3205,7 @@ void Bot::logic () {
|
||||||
checkFall ();
|
checkFall ();
|
||||||
|
|
||||||
// check the darkness
|
// check the darkness
|
||||||
if (cv_check_darkness) {
|
if (!m_isCreature && cv_check_darkness) {
|
||||||
checkDarkness ();
|
checkDarkness ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue