projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Player should be drawn above enemies.
[supertux.git]
/
src
/
badguy.cpp
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
1303cb0
..
b8bcb6f
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-365,9
+365,9
@@
BadGuy::action_mriceblock(double elapsed_time)
if(tux.input.fire != DOWN) /* SHOOT! */
{
if(dir == LEFT)
- base.x
-= 24
;
+ base.x
= tux.base.x - base.width
;
else
- base.x
+= 24
;
+ base.x
= tux.base.x + tux.base.width
;
old_base = base;
mode=KICK;