Skip to content

Commit

Permalink
MADS: Rename the parameter of setNextFrameTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Nov 11, 2015
1 parent eb98819 commit 8753ee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions engines/mads/animation.cpp
Expand Up @@ -604,8 +604,8 @@ void Animation::setCurrentFrame(int frameNumber) {
_freeFlag = false;
}

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

void Animation::eraseSprites() {
Expand Down
2 changes: 1 addition & 1 deletion engines/mads/animation.h
Expand Up @@ -227,7 +227,7 @@ class Animation {
*/
void eraseSprites();

void setNextFrameTimer(uint32 frameNumber);
void setNextFrameTimer(uint32 newTimer);
uint32 getNextFrameTimer() const { return _nextFrameTimer; }
void setCurrentFrame(int frameNumber);
int getCurrentFrame() const { return _currentFrame; }
Expand Down

0 comments on commit 8753ee9

Please sign in to comment.