projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a0d61
)
Slightly more interesting yeti_stalactites.
author
Mathnerd314
<man.is.allan@gmail.com>
Sat, 27 Feb 2010 12:59:35 +0000
(12:59 +0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Sat, 27 Feb 2010 12:59:35 +0000
(12:59 +0000)
SVN-Revision: 6416
src/badguy/yeti_stalactite.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/yeti_stalactite.cpp
b/src/badguy/yeti_stalactite.cpp
index
8f6ef72
..
4e869d9
100644
(file)
--- 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