Misc fixes

This commit is contained in:
hondacrx
2022-05-30 13:57:03 -04:00
parent d5b3bf6a5a
commit 3beab79944
6 changed files with 16 additions and 83 deletions
@@ -2021,7 +2021,7 @@ namespace Game.AI
if (e.Action.activateGameObject.gameObjectAction >= (uint)GameObjectActions.Max)
{
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has gameObjectAction parameter out of range (max allowed {(uint)GameObjectActions.Max}, current value {e.Action.activateGameObject.gameObjectAction}), skipped.");
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has gameObjectAction parameter out of range (max allowed {(uint)GameObjectActions.Max - 1}, current value {e.Action.activateGameObject.gameObjectAction}), skipped.");
return false;
}