From 474056f729ae2b393b6ffc1e7c78bac6aa99114c Mon Sep 17 00:00:00 2001 From: florianf Date: Sat, 27 Feb 2010 20:21:10 +0000 Subject: [PATCH] Yeti: In the second phase, drop stalactites in pairs. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6429 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/badguy/yeti.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/badguy/yeti.cpp b/src/badguy/yeti.cpp index 97891c714..f7f8a4d7a 100644 --- a/src/badguy/yeti.cpp +++ b/src/badguy/yeti.cpp @@ -255,8 +255,8 @@ Yeti::drop_stalactite() } } else { /* if (hitpoints < 3) */ - // drop every 3rd stalactite - if(((((int)stalactite->get_pos().x + 16) / 32) % 3) == (stomp_count % 3)) { + // drop every 3rd pair of stalactites + if(((((int)stalactite->get_pos().x + 16) / 64) % 3) == (stomp_count % 3)) { stalactite->start_shaking(); } } -- 2.11.0