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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;