fix(Core/Build): Fallthrough (#10165)
This commit is contained in:
+1
@@ -148,6 +148,7 @@ class go_suppression_device : public GameObjectScript
|
|||||||
|
|
||||||
case GO_JUST_DEACTIVATED: // This case prevents the Gameobject despawn by Disarm Trap
|
case GO_JUST_DEACTIVATED: // This case prevents the Gameobject despawn by Disarm Trap
|
||||||
go->SetLootState(GO_READY);
|
go->SetLootState(GO_READY);
|
||||||
|
[[fallthrough]];
|
||||||
case GO_ACTIVATED:
|
case GO_ACTIVATED:
|
||||||
go->AI()->DoAction(ACTION_DISARMED);
|
go->AI()->DoAction(ACTION_DISARMED);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user