[Super-tux-commit] supertux/src badguy.cpp,1.119,1.120
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-09-09 20:44:42
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3539/src Modified Files: badguy.cpp Log Message: Bugfix: ice blocks were hurting player when dropped. Index: badguy.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/badguy.cpp,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- badguy.cpp 9 Sep 2004 18:57:05 -0000 1.119 +++ badguy.cpp 9 Sep 2004 20:44:32 -0000 1.120 @@ -365,9 +365,9 @@ if(tux.input.fire != DOWN) /* SHOOT! */ { if(dir == LEFT) - base.x -= 24; + base.x = tux.base.x; else - base.x += 24; + base.x = tux.base.x + tux.base.width; old_base = base; mode=KICK; |