Forgot to change a line in dispenser.cpp (thanks bug 519)
authormathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 19 Nov 2009 00:18:38 +0000 (00:18 +0000)
committermathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 19 Nov 2009 00:18:38 +0000 (00:18 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6037 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/badguy/dispenser.cpp

index 975441e..f7c49ed 100644 (file)
@@ -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);