Slightly more interesting yeti_stalactites.
authorMathnerd314 <man.is.allan@gmail.com>
Sat, 27 Feb 2010 12:59:35 +0000 (12:59 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Sat, 27 Feb 2010 12:59:35 +0000 (12:59 +0000)
SVN-Revision: 6416

src/badguy/yeti_stalactite.cpp

index 8f6ef72..4e869d9 100644 (file)
@@ -35,6 +35,9 @@ YetiStalactite::start_shaking()
 {
   timer.start(YT_SHAKE_TIME);
   state = STALACTITE_SHAKING;
+  if(((int)get_pos().x / 32) % 2 == 0) {
+    physic.set_velocity_y(100);
+  }
 }
 
 bool