Misc cleanups/Fixes

This commit is contained in:
hondacrx
2020-12-07 10:07:26 -05:00
parent 5aa1c08ca1
commit 7e2df34250
39 changed files with 513 additions and 245 deletions
+2 -2
View File
@@ -1366,7 +1366,7 @@ namespace Game.AI
bool _isFollowing;
}
struct ValidTargetSelectPredicate : ISelector
struct ValidTargetSelectPredicate : ICheck<Unit>
{
UnitAI _ai;
@@ -1375,7 +1375,7 @@ namespace Game.AI
_ai = ai;
}
public bool Check(Unit target)
public bool Invoke(Unit target)
{
return _ai.CanAIAttack(target);
}