aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-12-22 19:16:11 +0100
committerStrangerke2014-12-22 19:16:11 +0100
commitfc9595efdc22aecb77800dca29fbe23291855c48 (patch)
tree32565aa7dc515001c44796bc502cf3556c425149 /engines
parent04bc635dc702606911b8777a443b9e1f6322a6bf (diff)
downloadscummvm-rg350-fc9595efdc22aecb77800dca29fbe23291855c48.tar.gz
scummvm-rg350-fc9595efdc22aecb77800dca29fbe23291855c48.tar.bz2
scummvm-rg350-fc9595efdc22aecb77800dca29fbe23291855c48.zip
ACCESS: Remove an unused variable in Animation manager
Diffstat (limited to 'engines')
-rw-r--r--engines/access/animation.cpp5
-rw-r--r--engines/access/animation.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/engines/access/animation.cpp b/engines/access/animation.cpp
index cc699a27e3..14d7c0d4cc 100644
--- a/engines/access/animation.cpp
+++ b/engines/access/animation.cpp
@@ -63,7 +63,6 @@ Animation::Animation(AccessEngine *vm, Common::SeekableReadStream *stream) : Man
_countdownTicks = stream->readUint16LE();
_currentLoopCount = stream->readSint16LE();
stream->readUint16LE(); // unk
- _field10 = 0;
Common::Array<uint16> frameOffsets;
uint16 ofs;
@@ -311,9 +310,7 @@ Animation *AnimationManager::setAnimation(int animId) {
anim->_countdownTicks = anim->_initialTicks;
anim->_frameNumber = 0;
- anim->_currentLoopCount = (anim->_type != 3 && anim->_type != 4) ? 0 :
- anim->_loopCount;
- anim->_field10 = 0;
+ anim->_currentLoopCount = (anim->_type != 3 && anim->_type != 4) ? 0 : anim->_loopCount;
return anim;
}
diff --git a/engines/access/animation.h b/engines/access/animation.h
index 722f5430ab..72621c4d11 100644
--- a/engines/access/animation.h
+++ b/engines/access/animation.h
@@ -106,7 +106,6 @@ public:
int _loopCount;
int _countdownTicks;
int _currentLoopCount;
- int _field10;
public:
Animation(AccessEngine *vm, Common::SeekableReadStream *stream);
~Animation();