mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix(Core/Build): Fallthrough (#10165)
This commit is contained in:
@@ -148,6 +148,7 @@ class go_suppression_device : public GameObjectScript
|
||||
|
||||
case GO_JUST_DEACTIVATED: // This case prevents the Gameobject despawn by Disarm Trap
|
||||
go->SetLootState(GO_READY);
|
||||
[[fallthrough]];
|
||||
case GO_ACTIVATED:
|
||||
go->AI()->DoAction(ACTION_DISARMED);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user