Random stuff that I should have committed ages ago.
[supertux.git] / src / object / weak_block.cpp
index 182efae..c8a4c38 100644 (file)
@@ -21,6 +21,7 @@
 #include <config.h>
 
 #include "weak_block.hpp"
+
 #include "lisp/lisp.hpp"
 #include "object_factory.hpp"
 #include "player.hpp"
@@ -30,6 +31,8 @@
 #include "random_generator.hpp"
 #include "object/bullet.hpp"
 
+#include <math.h>
+
 WeakBlock::WeakBlock(const lisp::Lisp& lisp)
   : MovingSprite(lisp, "images/objects/strawbox/strawbox.sprite", LAYER_TILES, COLGROUP_STATIC), state(STATE_NORMAL)
 {