From 1aa3c19834f16d5153fba34c7ef9dc5a66be9466 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 22 Feb 2013 00:24:16 +0100 Subject: add swimming support for maps, FINALLY --- src/koopatlas/core.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/koopatlas/core.cpp') 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(); -- cgit v1.2.3