From: Florian Forster Date: Sat, 27 Feb 2010 20:21:10 +0000 (+0000) Subject: Yeti: In the second phase, drop stalactites in pairs. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=389f9582664bf94eb3d3170d7a5b2d594b7172ed;p=supertux.git Yeti: In the second phase, drop stalactites in pairs. SVN-Revision: 6429 --- 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(); } }