Forgot to change a line in dispenser.cpp (thanks bug 519)
authorMathnerd314 <man.is.allan@gmail.com>
Thu, 19 Nov 2009 00:18:38 +0000 (00:18 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Thu, 19 Nov 2009 00:18:38 +0000 (00:18 +0000)
SVN-Revision: 6037

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);