[Super-tux-commit] supertux/src player.cpp,1.88.2.4,1.88.2.5
Brought to you by:
wkendrick
From: Ryan F. <sik...@us...> - 2004-08-10 17:28:50
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22257 Modified Files: Tag: supertux_0_1_1_branch player.cpp Log Message: - don't draw arm when Tux is ducking and holding something Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.88.2.4 retrieving revision 1.88.2.5 diff -u -d -r1.88.2.4 -r1.88.2.5 --- player.cpp 5 Aug 2004 10:04:17 -0000 1.88.2.4 +++ player.cpp 10 Aug 2004 17:28:34 -0000 1.88.2.5 @@ -594,7 +594,7 @@ } // Draw arm overlay graphics when Tux is holding something - if (holding_something && physic.get_velocity_y() == 0) + if (holding_something && physic.get_velocity_y() == 0 && !duck) { if (dir == RIGHT) sprite->grab_right->draw(base.x - scroll_x, base.y); |