projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b499741
)
- make badguys bounce up when bumped from beneath
author
Ryan Flegel
<rflegel@gmail.com>
Fri, 30 Apr 2004 07:25:37 +0000
(07:25 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Fri, 30 Apr 2004 07:25:37 +0000
(07:25 +0000)
SVN-Revision: 859
src/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
93b2c07
..
8486f3a
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-786,7
+786,8
@@
BadGuy::bump()
if(kind == BAD_FLAME || kind == BAD_BOMB || kind == BAD_FISH
|| kind == BAD_FLYINGSNOWBALL)
return;
-
+
+ physic.set_velocity_y(3);
kill_me(25);
}
@@
-912,7
+913,6
@@
BadGuy::kill_me(int score)
}
physic.enable_gravity(true);
- physic.set_velocity_y(0);
/* Gain some points: */
World::current()->add_score(base.x - scroll_x, base.y,