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:
parent
ad7435492f
commit
2bdf5467b4
4 changed files with 10 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue