From b915debdcb7a40e9dc5fbc973ca045c786e9d4b2 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Fri, 10 Sep 2004 08:54:29 +0000 Subject: [PATCH] Bugfix: when throwing ice block to the left Tux is hurt. SVN-Revision: 1892 --- src/badguy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/badguy.cpp b/src/badguy.cpp index 2dd299312..b8bcb6f0f 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -365,7 +365,7 @@ BadGuy::action_mriceblock(double elapsed_time) 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; -- 2.11.0