projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf30d1
)
- draw dead badguys/Tux above foreground tiles
author
Ryan Flegel
<rflegel@gmail.com>
Tue, 8 Jun 2004 20:31:24 +0000
(20:31 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Tue, 8 Jun 2004 20:31:24 +0000
(20:31 +0000)
SVN-Revision: 1444
src/badguy.cpp
patch
|
blob
|
history
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
6d1015d
..
29d27dc
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-970,7
+970,7
@@
BadGuy::draw(DrawingContext& context)
return;
if(dying == DYING_FALLING && physic.get_velocity_y() < 0)
- sprite->draw(context, Vector(base.x, base.y), LAYER_
OBJECTS
, VERTICAL_FLIP);
+ sprite->draw(context, Vector(base.x, base.y), LAYER_
FOREGROUNDTILES+1
, VERTICAL_FLIP);
else
sprite->draw(context, Vector(base.x, base.y), LAYER_OBJECTS);
diff --git
a/src/player.cpp
b/src/player.cpp
index
ce98871
..
f326f08
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-705,7
+705,7
@@
Player::draw(DrawingContext& context)
{
if (dying == DYING_SQUISHED)
{
- smalltux_gameover->draw(context, pos, LAYER_
OBJECT
S+1);
+ smalltux_gameover->draw(context, pos, LAYER_
FOREGROUNDTILE
S+1);
}
else
{