Skip to content

Commit

Permalink
MADS: Use uint32 for frame timer functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Oct 28, 2015
1 parent c21bf3c commit 73614e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/mads/animation.cpp
Expand Up @@ -603,7 +603,7 @@ void Animation::setCurrentFrame(int frameNumber) {
_freeFlag = false;
}

void Animation::setNextFrameTimer(int frameNumber) {
void Animation::setNextFrameTimer(uint32 frameNumber) {
_nextFrameTimer = frameNumber;
}

Expand Down
4 changes: 2 additions & 2 deletions engines/mads/animation.h
Expand Up @@ -225,8 +225,8 @@ class Animation {
*/
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; }

Expand Down

0 comments on commit 73614e9

Please sign in to comment.