Spiky, Snowball and Poison Ivy can move again
authorChristoph Sommer <mail@christoph-sommer.de>
Sat, 15 Apr 2006 22:52:47 +0000 (22:52 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Sat, 15 Apr 2006 22:52:47 +0000 (22:52 +0000)
SVN-Revision: 3348

src/badguy/poisonivy.cpp
src/badguy/snowball.cpp
src/badguy/spiky.cpp

index cd8e16b..904d0d3 100644 (file)
@@ -66,8 +66,10 @@ PoisonIvy::activate()
 }
 
 void
-PoisonIvy::active_update(float )
+PoisonIvy::active_update(float elapsed_time)
 {
+  BadGuy::active_update(elapsed_time);
+
   if (stay_on_platform && may_fall_off_platform())
   {
     dir = (dir == LEFT ? RIGHT : LEFT);
index c9e2ed8..63e1246 100644 (file)
@@ -76,8 +76,10 @@ SnowBall::activate()
 }
 
 void
-SnowBall::active_update(float )
+SnowBall::active_update(float elapsed_time)
 {
+  BadGuy::active_update(elapsed_time);
+
   if (stay_on_platform && may_fall_off_platform())
   {
     dir = (dir == LEFT ? RIGHT : LEFT);
index 6d7a4ef..536e63e 100644 (file)
@@ -53,8 +53,10 @@ Spiky::activate()
 }
 
 void
-Spiky::active_update(float )
+Spiky::active_update(float elapsed_time)
 {
+  BadGuy::active_update(elapsed_time);
+
   if (stay_on_platform && may_fall_off_platform())
   {
     dir = (dir == LEFT ? RIGHT : LEFT);