* Finish work on Path through the Clouds
[supertux.git] / src / object / sprite_particle.cpp
index 18d7b88..f5434fd 100644 (file)
@@ -17,6 +17,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#include <config.h>
 
 #include <stdexcept>
 #include "sprite_particle.hpp"
@@ -26,7 +27,7 @@
 #include "log.hpp"
 
 SpriteParticle::SpriteParticle(std::string sprite_name, std::string action, Vector position, AnchorPoint anchor, Vector velocity, Vector acceleration, int drawing_layer)
-       : position(position), velocity(velocity), acceleration(acceleration), drawing_layer(drawing_layer)
+        : position(position), velocity(velocity), acceleration(acceleration), drawing_layer(drawing_layer)
 {
   sprite = sprite_manager->create(sprite_name);
   if (!sprite) throw std::runtime_error("Could not load sprite "+sprite_name);