mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Core/SAI): Remove duplicated GO_STATE (#15530)
* fix(Core/SmartScripts): Remove duplicated GO_STATE * comment in/out some stuff
This commit is contained in:
@@ -2284,14 +2284,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_SET_GO_STATE:
|
||||
{
|
||||
for (WorldObject* target : targets)
|
||||
if (IsGameObject(target))
|
||||
target->ToGameObject()->SetGoState((GOState)e.action.goState.state);
|
||||
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_EXIT_VEHICLE:
|
||||
{
|
||||
for (WorldObject* target : targets)
|
||||
|
||||
Reference in New Issue
Block a user