From: mathnerd314 Date: Sat, 27 Feb 2010 12:59:35 +0000 (+0000) Subject: Slightly more interesting yeti_stalactites. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=293f8862833340df14331895a813201be860aa4c;p=supertux.git Slightly more interesting yeti_stalactites. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6416 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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