From 8b539ab37180c3b93263b6f16d28895f0190a112 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 9 Sep 2004 20:44:32 +0000 Subject: [PATCH] Bugfix: ice blocks were hurting player when dropped. SVN-Revision: 1890 --- src/badguy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/badguy.cpp b/src/badguy.cpp index 1303cb08b..2dd299312 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -365,9 +365,9 @@ BadGuy::action_mriceblock(double elapsed_time) 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; -- 2.11.0