fix(Core/Build): Fallthrough (#10165)

This commit is contained in:
Kitzunu
2022-01-14 01:34:57 +01:00
committed by GitHub
parent 8dc9531cd1
commit 707685d633

View File

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