aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
authorStrangerke2014-04-22 23:28:23 +0200
committerStrangerke2014-04-22 23:28:23 +0200
commitaedf8593034303066bf83d041f63731aa65a3ef6 (patch)
tree28842cc18ea28231a0d2914ad51ddbc862179487 /engines/mads/scene.cpp
parentb2e2a2deeee660ec2b28bc0098dfe0da67869e04 (diff)
downloadscummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.tar.gz
scummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.tar.bz2
scummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.zip
MADS: Fix compilation warning
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index e6888162d3..9d0332e600 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -275,7 +275,7 @@ void Scene::animatePalette() {
if (_cyclingDelay >= _cyclingThreshold) {
uint32 frameCounter = _vm->_events->getFrameCounter();
bool changesFlag = false;
- for (int idx = 0; idx < _paletteCycles.size(); idx++) {
+ for (uint16 idx = 0; idx < _paletteCycles.size(); idx++) {
if (frameCounter >= (_cycleTicks[idx] + _paletteCycles[idx]._ticks)) {
_cycleTicks[idx] = frameCounter;
int count = _paletteCycles[idx]._colorCount;