summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-24 05:38:14 +0200
committerTreeki <treeki@gmail.com>2012-09-24 05:38:14 +0200
commit4f567256d015cf7a835ac03b9e5abb8a2a7eb12a (patch)
treecc867fff5d78f08f6bd47ea272e8b4406048a725 /src/koopatlas/player.cpp
parentec8ad32b054e7680aec1536b36a02f6aaf154c0b (diff)
downloadkamek-4f567256d015cf7a835ac03b9e5abb8a2a7eb12a.tar.gz
kamek-4f567256d015cf7a835ac03b9e5abb8a2a7eb12a.zip
various changes and bugfixes
Diffstat (limited to 'src/koopatlas/player.cpp')
-rw-r--r--src/koopatlas/player.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp
index ed2aa5b..3f791b6 100644
--- a/src/koopatlas/player.cpp
+++ b/src/koopatlas/player.cpp
@@ -68,6 +68,9 @@ int daWMPlayer_c::onExecute() {
}
int daWMPlayer_c::onDraw() {
+ if (!visible)
+ return true;
+
this->modelHandler->draw();
hammerSuit.draw();