diff options
| author | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-05-22 07:04:50 -0600 |
|---|---|---|
| committer | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-05-22 07:04:50 -0600 |
| commit | 598e7ba62ea5035dae7abf00438c3fbb69723930 (patch) | |
| tree | 59d2af8764d9906a0b7dd4916a78e53fb3018806 /src/engine | |
| parent | 6ff80c5f08c0a9c4e57ec419d4e6dcd781bb5b45 (diff) | |
| parent | f6d1064a7a5395eaca40f08d099d8cc07badf02c (diff) | |
Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/actors/Finishline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/actors/Finishline.cpp b/src/engine/actors/Finishline.cpp index 0680e60bd..33f12120f 100644 --- a/src/engine/actors/Finishline.cpp +++ b/src/engine/actors/Finishline.cpp @@ -6,6 +6,7 @@ #include "engine/Actor.h" #include "World.h" #include "assets/common_data.h" +#include "src/port/Game.h" extern "C" { #include "macros.h" @@ -20,6 +21,10 @@ extern f32 gKartGravityTable[]; AFinishline::AFinishline(std::optional<FVector> pos) { Name = "Finishline"; + if (GetCup() == GetBattleCup()) { + return; + } + if (pos.has_value()) { // Set spawn point to the provided position Pos[0] = D_8015F8D0[0] = pos.value().x; |
