projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c463975
)
Bug fix: on incencible mode, stars were being drawn even when player was in dying...
author
Ricardo Cruz
<rick2@aeiou.pt>
Mon, 13 Sep 2004 22:45:44 +0000
(22:45 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Mon, 13 Sep 2004 22:45:44 +0000
(22:45 +0000)
SVN-Revision: 1902
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
5fec558
..
d055a1e
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-870,7
+870,8
@@
Player::draw(DrawingContext& context)
// Draw blinking star overlay
if (invincible_timer.started() &&
- (invincible_timer.get_left() > TUX_INVINCIBLE_TIME_WARNING || global_frame_counter % 3))
+ (invincible_timer.get_left() > TUX_INVINCIBLE_TIME_WARNING || global_frame_counter % 3)
+ && !dying)
{
if (size == SMALL || duck)
smalltux_star->draw(context, pos, LAYER_OBJECTS + 2);