From: Ricardo Cruz Date: Thu, 9 Sep 2004 20:44:32 +0000 (+0000) Subject: Bugfix: ice blocks were hurting player when dropped. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8b539ab37180c3b93263b6f16d28895f0190a112;p=supertux.git Bugfix: ice blocks were hurting player when dropped. SVN-Revision: 1890 --- 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;