fix miniswig using wrong stack numbers in functions with HSQUIRRELVM arguments
[supertux.git] / src / badguy / yeti.cpp
index fef1be3..50aa888 100644 (file)
@@ -64,7 +64,7 @@ void
 Yeti::draw(DrawingContext& context)
 {
   // we blink when we are safe
-  if(safe_timer.started() && size_t(global_time*40)%2)
+  if(safe_timer.started() && size_t(game_time*40)%2)
     return;
 
   BadGuy::draw(context);