summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/player.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp
index a087cce..1c68222 100644
--- a/src/koopatlas/player.cpp
+++ b/src/koopatlas/player.cpp
@@ -68,6 +68,11 @@ int daWMPlayer_c::onExecute() {
dKPMusic::playStarMusic();
}
+ if (spinning)
+ rot.y += 0xC00;
+ else
+ SmoothRotation(&rot.y, targetRotY, 0xC00);
+
if (dScKoopatlas_c::instance->mapIsRunning())
dScKoopatlas_c::instance->pathManager.execute();