diff options
author | Treeki <treeki@gmail.com> | 2013-02-22 00:24:16 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-22 00:24:16 +0100 |
commit | 1aa3c19834f16d5153fba34c7ef9dc5a66be9466 (patch) | |
tree | 5a6e5a3b248a4f53f6f39aae615ffc689134113c /src/koopatlas/core.cpp | |
parent | 47c6a8826430eb0836cb0ef811f7492cae76e91c (diff) | |
download | kamek-1aa3c19834f16d5153fba34c7ef9dc5a66be9466.tar.gz kamek-1aa3c19834f16d5153fba34c7ef9dc5a66be9466.zip |
add swimming support for maps, FINALLY
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/core.cpp | 2 |
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(); |