summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/port/Game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/port/Game.cpp b/src/port/Game.cpp
index bd7785024..47c82088b 100644
--- a/src/port/Game.cpp
+++ b/src/port/Game.cpp
@@ -654,6 +654,11 @@ void CM_CleanWorld(void) {
delete actor;
}
+ for (int i = 0; i < NUM_PLAYERS; i++) {
+ gWorldInstance.playerBombKart[i].state = PlayerBombKart::PlayerBombKartState::DISABLED;
+ gWorldInstance.playerBombKart[i]._primAlpha = 0;
+ }
+
gEditor.ClearObjects();
gWorldInstance.Actors.clear();
gWorldInstance.StaticMeshActors.clear();