Kugelblitz now appears at specified position, not at [0, 0]
authorMiloš Klouček <m.kloucek.m@atlas.cz>
Thu, 3 Jul 2008 16:36:14 +0000 (16:36 +0000)
committerMiloš Klouček <m.kloucek.m@atlas.cz>
Thu, 3 Jul 2008 16:36:14 +0000 (16:36 +0000)
SVN-Revision: 5647

src/badguy/kugelblitz.cpp

index 0022171..813492d 100644 (file)
@@ -34,7 +34,7 @@ static const float X_OFFSCREEN_DISTANCE = 1600;
 static const float Y_OFFSCREEN_DISTANCE = 1200;
 
 Kugelblitz::Kugelblitz(const lisp::Lisp& reader)
-    : BadGuy(Vector(0,0), "images/creatures/kugelblitz/kugelblitz.sprite"), groundhit_pos_set(false)
+    : BadGuy(reader, "images/creatures/kugelblitz/kugelblitz.sprite"), groundhit_pos_set(false)
 {
   reader.get("x", start_position.x);
   sprite->set_action("falling");