Fix issue with action not being updated when typing grow()/fire()/etc in console...
[supertux.git] / src / object / candle.cpp
index 98c48c1..614c42b 100644 (file)
@@ -28,9 +28,9 @@
 #include "random_generator.hpp"
 
 Candle::Candle(const lisp::Lisp& lisp)
-       : MovingSprite(lisp, "images/objects/candle/candle.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_DISABLED), burning(true),
-       candle_light_1("images/objects/candle/candle-light-1.png"),
-       candle_light_2("images/objects/candle/candle-light-2.png")
+        : MovingSprite(lisp, "images/objects/candle/candle.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_DISABLED), burning(true),
+        candle_light_1("images/objects/candle/candle-light-1.png"),
+        candle_light_2("images/objects/candle/candle-light-2.png")
 {
   lisp.get("name", name);
   lisp.get("burning", burning);