Added const cast Entity::CastToBot()

This commit is contained in:
Uleat committed 2019-06-21 06:00:58 -04:00
1 parent ca874cb861
commit e903b06c22
4 files changed
+29 -12

No files matched your search

+1
View File
@@ -735,6 +735,7 @@ type', in which case, the answer is yes.
}
#ifdef BOTS
// this is HIGHLY inefficient
bool HasRuleDefined = false;
bool IsBotAttackAllowed = false;
IsBotAttackAllowed = Bot::IsBotAttackAllowed(mob1, mob2, HasRuleDefined);