summaryrefslogtreecommitdiff
path: root/src/engine/World.cpp
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2024-11-24 13:03:50 -0700
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2024-11-24 13:03:50 -0700
commit17d3fb49f250ba5975180de2bac4d0d50bcf1cda (patch)
treed8cc302a171c0f7c7305a2f638fce8fa6b590347 /src/engine/World.cpp
parentcae7cc7f6f5c66bca929427efaaf1f7847ca8105 (diff)
Thwomp Collisionbox and squish size
Diffstat (limited to 'src/engine/World.cpp')
-rw-r--r--src/engine/World.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/World.cpp b/src/engine/World.cpp
index 800cafb58..aae7f3568 100644
--- a/src/engine/World.cpp
+++ b/src/engine/World.cpp
@@ -97,8 +97,9 @@ void World::AddBombKart(Vec3f pos, TrackWaypoint* waypoint, uint16_t waypointInd
BombKarts.push_back(std::make_unique<OBombKart>(pos, waypoint, waypointIndex, state, unk_3C));
}
-void World::AddThwomp(s16 x, s16 z, s16 direction, f32 scale, s16 behaviour, s16 primAlpha) {
- Thwomps.push_back(std::make_unique<OThwomp>(thwomps, x, z, direction, scale, behaviour, primAlpha));
+void World::AddThwomp(s16 x, s16 z, s16 direction, f32 scale, s16 behaviour, s16 primAlpha, u16 boundingBoxSize) {
+ Thwomps.push_back(
+ std::make_unique<OThwomp>(thwomps, x, z, direction, scale, behaviour, primAlpha, boundingBoxSize));
thwomps++;
gNumActiveThwomps = thwomps;
}