From 4f567256d015cf7a835ac03b9e5abb8a2a7eb12a Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 24 Sep 2012 05:38:14 +0200 Subject: various changes and bugfixes --- src/koopatlas/player.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/koopatlas/player.cpp') 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(); -- cgit v1.2.3