diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-06-26 02:57:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-25 20:57:29 -0600 |
| commit | bf7823507b60ac1b49641b577f21da01de687217 (patch) | |
| tree | 2e350d459ee22f7b78e1131797ad9f244452fa81 | |
| parent | a529b7f1816734ec4fcb77bc449054a8bfd540dc (diff) | |
Update Game.cpp (#362)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
| -rw-r--r-- | src/port/Game.cpp | 5 |
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(); |
