aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-24 08:15:31 +0000
committerPaul Gilbert2010-06-24 08:15:31 +0000
commit70e9df9566007a495f5b77fa6ee4c6d31efdbe15 (patch)
tree0caa47cbc4faee086e65407c771841f1e6f87bc7 /engines/m4
parentbbb29e2650bf9b51818e710fb177b6b19894c1fe (diff)
downloadscummvm-rg350-70e9df9566007a495f5b77fa6ee4c6d31efdbe15.tar.gz
scummvm-rg350-70e9df9566007a495f5b77fa6ee4c6d31efdbe15.tar.bz2
scummvm-rg350-70e9df9566007a495f5b77fa6ee4c6d31efdbe15.zip
Corrected incorrect variable name change
svn-id: r50204
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/sprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/sprite.cpp b/engines/m4/sprite.cpp
index 48a36ac26e..4ce1b75b35 100644
--- a/engines/m4/sprite.cpp
+++ b/engines/m4/sprite.cpp
@@ -125,8 +125,8 @@ void M4Sprite::loadMadsSprite(Common::SeekableReadStream* source) {
fillRect(bounds(), TRANSPARENT_COLOUR_INDEX);
// Major line loop
- for (int y2 = 0; y2 < h; ++y2) {
- byte *destP = getBasePtr(0, y);
+ for (int yp = 0; yp < h; ++yp) {
+ byte *destP = getBasePtr(0, yp);
bool newLine = false;
byte cmd = source->readByte();
int x2 = 0;