summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/core.cpp')
-rw-r--r--src/koopatlas/core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 9a24f82..d4130c4 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -247,6 +247,7 @@ bool WMInit_SetupExtra(void *ptr) {
SpammyReport("creating player\n");
wm->player = (daWMPlayer_c*)CreateParentedObject(WM_PLAYER, wm, 0, 2);
wm->player->modelHandler->mdlClass->setPowerup(Player_Powerup[0]);
+ wm->player->bindPats();
wm->player->modelHandler->mdlClass->startAnimation(0, 1.2f, 10.0f, 0.0f);
// since we've got all the resources, set up the path data too
@@ -724,6 +725,7 @@ void dScKoopatlas_c::executeState_PowerupsWait() {
if (!stockItem->show) {
player->modelHandler->mdlClass->setPowerup(Player_Powerup[0]);
+ player->bindPats();
state.setState(&StateID_Normal);
hud->unhideAll();