From 293f8862833340df14331895a813201be860aa4c Mon Sep 17 00:00:00 2001 From: mathnerd314 Date: Sat, 27 Feb 2010 12:59:35 +0000 Subject: [PATCH] Slightly more interesting yeti_stalactites. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6416 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/badguy/yeti_stalactite.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/badguy/yeti_stalactite.cpp b/src/badguy/yeti_stalactite.cpp index 8f6ef721d..4e869d931 100644 --- a/src/badguy/yeti_stalactite.cpp +++ b/src/badguy/yeti_stalactite.cpp @@ -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 -- 2.11.0