fix(Core/Build): Fallthrough (#10165)
This commit is contained in:
parent
8dc9531cd1
commit
707685d633
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue