projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ccb08
)
Yeti: In the second phase, drop stalactites in pairs.
author
Florian Forster
<supertux@octo.it>
Sat, 27 Feb 2010 20:21:10 +0000
(20:21 +0000)
committer
Florian Forster
<supertux@octo.it>
Sat, 27 Feb 2010 20:21:10 +0000
(20:21 +0000)
SVN-Revision: 6429
src/badguy/yeti.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/yeti.cpp
b/src/badguy/yeti.cpp
index
97891c7
..
f7f8a4d
100644
(file)
--- 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();
}
}