projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3c5b1
)
Disable acceleration in kill_fall().
author
Ryan Flegel
<rflegel@gmail.com>
Sun, 15 Jun 2008 19:27:44 +0000
(19:27 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Sun, 15 Jun 2008 19:27:44 +0000
(19:27 +0000)
SVN-Revision: 5574
src/badguy/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/badguy.cpp
b/src/badguy/badguy.cpp
index
fd3ef26
..
16e5331
100644
(file)
--- a/
src/badguy/badguy.cpp
+++ b/
src/badguy/badguy.cpp
@@
-346,6
+346,7
@@
BadGuy::kill_fall()
sound_manager->play("sounds/fall.wav", get_pos());
if (countMe) Sector::current()->get_level()->stats.badguys++;
physic.set_velocity_y(0);
+ physic.set_acceleration_y(0);
physic.enable_gravity(true);
set_state(STATE_FALLING);