summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/player.cpp')
-rw-r--r--src/koopatlas/player.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp
index 6e005b7..00092cd 100644
--- a/src/koopatlas/player.cpp
+++ b/src/koopatlas/player.cpp
@@ -12,11 +12,6 @@ int daWMPlayer_c::onCreate() {
this->modelHandler->setSRT((Vec){0.0,100.0,-100.0}, (S16Vec){0,0,0}, (Vec){2.0,2.0,2.0});
this->modelHandler->draw();
- if (Player_Flags[0] & 1) {
- modelHandler->mdlClass->enableStarColours();
- modelHandler->mdlClass->enableStarEffects();
- }
-
hammerSuit.setup(this->modelHandler);
pos = (Vec){0.0f,0.0f,3000.0f};
@@ -42,6 +37,12 @@ int daWMPlayer_c::onDelete() {
int daWMPlayer_c::onExecute() {
+ if (Player_Flags[0] & 1) {
+ modelHandler->mdlClass->enableStarColours();
+ modelHandler->mdlClass->enableStarEffects();
+ dKPMusic::playStarMusic();
+ }
+
if (!dScKoopatlas_c::instance->mapIsRunning())
return true;