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:
avarishd
2023-03-23 13:05:28 +02:00
committed by GitHub
parent ad7435492f
commit 2bdf5467b4
4 changed files with 10 additions and 18 deletions

View File

@@ -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)