aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2015-11-12 00:50:39 +0100
committerStrangerke2015-11-12 00:50:39 +0100
commit8753ee9f95ab7bdd5be8e45c092f84c0d72e5b73 (patch)
tree6e46ed9c2e3269cc257b8ffd2ddebf00fce2a129 /engines
parenteb9881965d7aeda7c01b8de1da141b9dcf3990c0 (diff)
downloadscummvm-rg350-8753ee9f95ab7bdd5be8e45c092f84c0d72e5b73.tar.gz
scummvm-rg350-8753ee9f95ab7bdd5be8e45c092f84c0d72e5b73.tar.bz2
scummvm-rg350-8753ee9f95ab7bdd5be8e45c092f84c0d72e5b73.zip
MADS: Rename the parameter of setNextFrameTimer
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/animation.cpp4
-rw-r--r--engines/mads/animation.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index 5020110db1..d2260dac92 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -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() {
diff --git a/engines/mads/animation.h b/engines/mads/animation.h
index e13c1c216a..a6a4cfbc8b 100644
--- a/engines/mads/animation.h
+++ b/engines/mads/animation.h
@@ -227,7 +227,7 @@ public:
*/
void eraseSprites();
- void setNextFrameTimer(uint32 frameNumber);
+ void setNextFrameTimer(uint32 newTimer);
uint32 getNextFrameTimer() const { return _nextFrameTimer; }
void setCurrentFrame(int frameNumber);
int getCurrentFrame() const { return _currentFrame; }