[Super-tux-commit] supertux/src player.cpp,1.150,1.151
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-08-13 22:22:58
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27300/src Modified Files: player.cpp Log Message: Should fix arm crash. Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.150 retrieving revision 1.151 diff -u -d -r1.150 -r1.151 --- player.cpp 12 Aug 2004 22:05:24 -0000 1.150 +++ player.cpp 13 Aug 2004 22:22:47 -0000 1.151 @@ -787,9 +787,9 @@ if ((holding_something && physic.get_velocity_y() == 0) || shooting_timer.check() && !duck) { if (dir == RIGHT) - tux_arm->set_action("walk-right"); + tux_arm->set_action("grab-right"); else - tux_arm->set_action("walk-left"); + tux_arm->set_action("grab-left"); tux_arm->draw(context, pos, LAYER_OBJECTS + 1); } |