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=c34803522acd8fd44949e394e8f3feb4b6d0708b;p=supertux.git Forgot to change a line in dispenser.cpp (thanks bug 519) git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6037 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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);