Core/SAI: Remove reactState param from SMART_ACTION_WP_START

Port From (https://github.com/TrinityCore/TrinityCore/commit/ebcd45b7e1eaa07386a3927d73575339535ec557)
This commit is contained in:
hondacrx
2022-05-30 13:42:39 -04:00
parent 774e978d18
commit 5ea0f1e468
3 changed files with 2 additions and 15 deletions
@@ -1332,9 +1332,6 @@ namespace Game.AI
}
}
// Extra validation to ignore invalid values stored in the db, see comment at TEMPORARY_EXTRA_VALUE_FOR_DB_CLEANUP definition
if ((ReactStates)e.Action.wpStart.reactState <= ReactStates.Aggressive)
_me.SetReactState((ReactStates)e.Action.wpStart.reactState);
_me.GetAI<SmartAI>().StartPath(run, entry, repeat, unit);
uint quest = e.Action.wpStart.quest;