aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-10-28 18:02:34 +0100
committerStrangerke2015-10-28 18:02:34 +0100
commit73614e9415cb005926192530cf5da1318c70c483 (patch)
tree3e65932ed402ca01da6f3cab9164898dc9aba72c
parentc21bf3cf38dd7eac0787152701f780976cf63044 (diff)
downloadscummvm-rg350-73614e9415cb005926192530cf5da1318c70c483.tar.gz
scummvm-rg350-73614e9415cb005926192530cf5da1318c70c483.tar.bz2
scummvm-rg350-73614e9415cb005926192530cf5da1318c70c483.zip
MADS: Use uint32 for frame timer functions
-rw-r--r--engines/mads/animation.cpp2
-rw-r--r--engines/mads/animation.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index 0b0e28ad05..a36ac314b8 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -603,7 +603,7 @@ void Animation::setCurrentFrame(int frameNumber) {
_freeFlag = false;
}
-void Animation::setNextFrameTimer(int frameNumber) {
+void Animation::setNextFrameTimer(uint32 frameNumber) {
_nextFrameTimer = frameNumber;
}
diff --git a/engines/mads/animation.h b/engines/mads/animation.h
index 45e6e3cce9..a967eaabe4 100644
--- a/engines/mads/animation.h
+++ b/engines/mads/animation.h
@@ -225,8 +225,8 @@ public:
*/
void eraseSprites();
- void setNextFrameTimer(int frameNumber);
- int getNextFrameTimer() const { return _nextFrameTimer; }
+ void setNextFrameTimer(uint32 frameNumber);
+ uint32 getNextFrameTimer() const { return _nextFrameTimer; }
void setCurrentFrame(int frameNumber);
int getCurrentFrame() const { return _currentFrame; }