projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316b7ca
)
- fixed it so arm is not drawn when Tux is shooting and ducking
author
Ryan Flegel
<rflegel@gmail.com>
Mon, 24 May 2004 23:03:43 +0000
(23:03 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Mon, 24 May 2004 23:03:43 +0000
(23:03 +0000)
SVN-Revision: 1318
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
7cae89b
..
f11b12a
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-626,7
+626,7
@@
Player::draw(Camera& viewport, int layer)
if(layer == LAYER_OBJECTS + 1) {
// Draw arm overlay graphics when Tux is holding something
- if ((holding_something && physic.get_velocity_y() == 0) || shooting_timer.check())
+ if ((holding_something && physic.get_velocity_y() == 0) || shooting_timer.check()
&& !duck
)
{
if (dir == RIGHT)
sprite->grab_right->draw(pos);