From: Miloš Klouček Date: Thu, 3 Jul 2008 16:36:14 +0000 (+0000) Subject: Kugelblitz now appears at specified position, not at [0, 0] X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=38e4d5afd0cc150f75d57778ff1ab1a55688e2f4;p=supertux.git Kugelblitz now appears at specified position, not at [0, 0] SVN-Revision: 5647 --- diff --git a/src/badguy/kugelblitz.cpp b/src/badguy/kugelblitz.cpp index 0022171de..813492d15 100644 --- a/src/badguy/kugelblitz.cpp +++ b/src/badguy/kugelblitz.cpp @@ -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");