diff options
author | Strangerke | 2014-02-26 08:10:46 +0100 |
---|---|---|
committer | Strangerke | 2014-02-26 08:10:46 +0100 |
commit | 2d12325006c7db4984b2a544ec134387d5432ab0 (patch) | |
tree | abd454a2341a8f2cda0f67ccca9e882b434587d3 /engines/voyeur | |
parent | 63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf (diff) | |
download | scummvm-rg350-2d12325006c7db4984b2a544ec134387d5432ab0.tar.gz scummvm-rg350-2d12325006c7db4984b2a544ec134387d5432ab0.tar.bz2 scummvm-rg350-2d12325006c7db4984b2a544ec134387d5432ab0.zip |
VOYEUR: Fix eternal loop bug in sDrawPic()
Diffstat (limited to 'engines/voyeur')
-rw-r--r-- | engines/voyeur/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp index 7f944ef8ab..5bf314ecf5 100644 --- a/engines/voyeur/graphics.cpp +++ b/engines/voyeur/graphics.cpp @@ -295,7 +295,7 @@ void GraphicsManager::sDrawPic(DisplayResource *srcDisplay, DisplayResource *des srcP = (byte *)_screenSurface.getPixels() + srcOffset; for (int yp = 0; yp < height1; ++yp) { - for (int xp = 0; xp < width2; ++width2, ++srcP, ++destP) { + for (int xp = 0; xp < width2; ++xp, ++srcP, ++destP) { pixel = *srcP; if (pixel) *destP = pixel; |