]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Animation.h
fixed timer type in AnimationRunner::Clear()
[l2e.git] / 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());