From: Mathnerd314 Date: Thu, 19 Nov 2009 00:18:38 +0000 (+0000) Subject: Forgot to change a line in dispenser.cpp (thanks bug 519) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=25da12d34b356745dcf3669f234e17ee5bfa6b80;p=supertux.git Forgot to change a line in dispenser.cpp (thanks bug 519) SVN-Revision: 6037 --- diff --git a/src/badguy/dispenser.cpp b/src/badguy/dispenser.cpp index 975441e2a..f7c49ed55 100644 --- a/src/badguy/dispenser.cpp +++ b/src/badguy/dispenser.cpp @@ -210,7 +210,7 @@ Dispenser::launch_badguy() else if (type == "rocketlauncher") spawnpoint = Vector(get_pos().x + (launchdir == LEFT ? -32 : 32), get_pos().y); - badguy_object = create_object(badguy, Vector(get_pos().x, get_pos().y+32), launchdir); + badguy_object = create_object(badguy, spawnpoint, launchdir); if (badguy_object) Sector::current()->add_object(badguy_object);