[Super-tux-commit] supertux/src player.cpp,1.88.2.3,1.88.2.4
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-08-05 10:04:29
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24599/src Modified Files: Tag: supertux_0_1_1_branch player.cpp Log Message: Bug fix: powerups were going on Tux direction, not based in the bump position. (If there are still problems, we can just disable this thing.) Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.88.2.3 retrieving revision 1.88.2.4 diff -u -d -r1.88.2.3 -r1.88.2.4 --- player.cpp 3 Aug 2004 18:52:48 -0000 1.88.2.3 +++ player.cpp 5 Aug 2004 10:04:17 -0000 1.88.2.4 @@ -228,7 +228,7 @@ World::current()->trygrabdistro(base.x, base.y - 32,BOUNCE); World::current()->trybumpbadguy(base.x, base.y - 64); - World::current()->trybreakbrick(base.x, base.y, size == SMALL, dir); + World::current()->trybreakbrick(base.x, base.y, size == SMALL, RIGHT); bumpbrick(base.x, base.y); World::current()->tryemptybox(base.x, base.y, RIGHT); @@ -241,7 +241,7 @@ World::current()->trybumpbadguy(base.x+ 31, base.y - 64); if(size == BIG) - World::current()->trybreakbrick(base.x+ 31, base.y, size == SMALL, dir); + World::current()->trybreakbrick(base.x+ 31, base.y, size == SMALL, LEFT); bumpbrick(base.x+ 31, base.y); World::current()->tryemptybox(base.x+ 31, base.y, LEFT); |