projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a598734
)
Corrected collition with bag of money
author
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 21 Feb 2004 16:25:48 +0000
(16:25 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 21 Feb 2004 16:25:48 +0000
(16:25 +0000)
SVN-Revision: 143
src/collision.c
patch
|
blob
|
history
diff --git
a/src/collision.c
b/src/collision.c
index
de8a536
..
98892bc
100644
(file)
--- a/
src/collision.c
+++ b/
src/collision.c
@@
-99,7
+99,7
@@
void collision_handler()
if(bad_guys[i].dying == NO && rectcollision_offset(&bad_guys[i].base,&tux.base,0,0) == YES )
{
/* We have detected a collision and now call the collision functions of the collided objects. */
- if (tux.base.ym > 0)
+ if (tux.base.ym > 0
&& bad_guys[i].kind != BAD_MONEY
)
{
badguy_collision(&bad_guys[i], &tux, CO_PLAYER);
}