Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15185/src
Modified Files:
badguy.cpp
Log Message:
Bugfix: when throwing ice block to the left Tux is hurt.
Index: badguy.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/badguy.cpp,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- badguy.cpp 9 Sep 2004 20:44:32 -0000 1.120
+++ badguy.cpp 10 Sep 2004 08:54:29 -0000 1.121
@@ -365,7 +365,7 @@
if(tux.input.fire != DOWN) /* SHOOT! */
{
if(dir == LEFT)
- base.x = tux.base.x;
+ base.x = tux.base.x - base.width;
else
base.x = tux.base.x + tux.base.width;
old_base = base;
|