mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-25 07:59:42 -04:00
Core/SAI: Remove reactState param from SMART_ACTION_WP_START (#27255)
Ref #26728
(cherry picked from commit 04909bada8)
This commit is contained in:
@@ -1420,9 +1420,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
}
|
||||
}
|
||||
|
||||
// Extra validation to ignore invalid values stored in the db, see comment at TEMPORARY_EXTRA_VALUE_FOR_DB_CLEANUP definition
|
||||
if (e.action.wpStart.reactState <= REACT_AGGRESSIVE)
|
||||
me->SetReactState((ReactStates)e.action.wpStart.reactState);
|
||||
ENSURE_AI(SmartAI, me->AI())->StartPath(run, entry, repeat, unit);
|
||||
|
||||
uint32 quest = e.action.wpStart.quest;
|
||||
|
||||
Reference in New Issue
Block a user