summaryrefslogtreecommitdiff
path: root/src/resources/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/animation.h')
-rw-r--r--src/resources/animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation.h b/src/resources/animation.h
index f309dbf8..80e0781a 100644
--- a/src/resources/animation.h
+++ b/src/resources/animation.h
@@ -34,7 +34,7 @@ class Image;
struct Frame
{
Image *image;
- unsigned int delay;
+ int delay;
int offsetX;
int offsetY;
};
@@ -68,7 +68,7 @@ class Animation
/**
* Returns the length of this animation in frames.
*/
- unsigned int getLength() const { return mFrames.size(); }
+ int getLength() const { return mFrames.size(); }
/**
* Returns the duration of this animation.