summaryrefslogtreecommitdiff
path: root/src/engine/objects/HotAirBalloon.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-05-23 16:53:14 -0600
committerGitHub <noreply@github.com>2025-05-23 16:53:14 -0600
commit2a0c0939c780babc45c8c22dfd6f94563485bae5 (patch)
tree0a8f7d6a5a99452645260d53e778204327275deb /src/engine/objects/HotAirBalloon.cpp
parent9363e3d77631b1028a765c075a00293bd20c9ba7 (diff)
Refactor World::Courses to unique_ptr (#211)
* wip course unique ptr * Track unique_ptr : This probably compiles * Finish impl Courses as unique_ptr * Fix error * Fixes * More fixes * Cleanup * Remove old vars --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/objects/HotAirBalloon.cpp')
-rw-r--r--src/engine/objects/HotAirBalloon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/objects/HotAirBalloon.cpp b/src/engine/objects/HotAirBalloon.cpp
index 4e337d98e..f1e367d8d 100644
--- a/src/engine/objects/HotAirBalloon.cpp
+++ b/src/engine/objects/HotAirBalloon.cpp
@@ -21,7 +21,7 @@ OHotAirBalloon::OHotAirBalloon(const FVector& pos) {
D_80165898 = 0;
// Spawn balloon on second lap.
- if (GetCourse() == GetLuigiRaceway()) {
+ if (IsLuigiRaceway()) {
_visible = (bool*)&D_80165898;
} else { // Spawn balloon on race start
bool mod = true;