- fixed missing angle init
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 3 Jul 2006 19:00:00 +0000 (19:00 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 3 Jul 2006 19:00:00 +0000 (19:00 +0000)
SVN-Revision: 3857

src/sprite/sprite.cpp

index e14621f..00c6247 100644 (file)
@@ -43,6 +43,7 @@ Sprite::Sprite(SpriteData& newdata)
 Sprite::Sprite(const Sprite& other)
   : data(other.data), frame(other.frame),
     animation_loops(other.animation_loops),
+    angle(0.0f),
     action(other.action)
 {
   last_ticks = real_time;