diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-12-20 00:14:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-19 16:14:29 -0700 |
| commit | a925d0fa2f814eeb2e780d304e89972c67171c92 (patch) | |
| tree | 17a063ff8db9423bcef11d7662503b7137678825 /src/port/Game.cpp | |
| parent | 67536f525a8ffab2d8afef945a3d23d1e2b4411f (diff) | |
make id of cup more robust and fix a mistake (#604)
* fix id koopa troopa beach
* make id of cup more robust
Diffstat (limited to 'src/port/Game.cpp')
| -rw-r--r-- | src/port/Game.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/port/Game.cpp b/src/port/Game.cpp index 4242815c1..0cdc06f4b 100644 --- a/src/port/Game.cpp +++ b/src/port/Game.cpp @@ -135,6 +135,13 @@ void CustomEngineInit() { "mk:skyscraper" }); + /* Validate Cup Track IDs */ + gMushroomCup->ValidateTrackIds(gTrackRegistry); + gFlowerCup->ValidateTrackIds(gTrackRegistry); + gStarCup->ValidateTrackIds(gTrackRegistry); + gSpecialCup->ValidateTrackIds(gTrackRegistry); + gBattleCup->ValidateTrackIds(gTrackRegistry); + /* Instantiate Cups */ GetWorld()->AddCup(gMushroomCup); GetWorld()->AddCup(gFlowerCup); |
