]> git.localhorst.tv Git - l2e.git/commitdiff
fixed timer type in AnimationRunner::Clear()
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Aug 2012 21:42:16 +0000 (23:42 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Aug 2012 21:42:16 +0000 (23:42 +0200)
src/graphics/Animation.h

index ecf71e84f686c82763b6473d817857b8bd19f4a7..97230f5217ce59a22b0f4c47cb85649767522177 100644 (file)
@@ -58,7 +58,7 @@ public:
 
 public:
        bool Valid() const { return animation; }
-       void Clear() { animation = 0; timer = app::Timer<int>(); }
+       void Clear() { animation = 0; timer = app::Timer<Uint32>(); }
 
        void Start(app::State &ctrl) {
                timer = ctrl.GraphicsTimers().StartInterval(animation->FrameTime());