diff options
author | lukaslw | 2014-05-27 21:30:57 +0200 |
---|---|---|
committer | lukaslw | 2014-06-22 20:08:16 +0200 |
commit | b92d7762df557ff03600035a5fbf862a05a47f13 (patch) | |
tree | ef54171f31590b2d70b10ab6c9195c26569d8a44 | |
parent | 905a95e0ce327d603e4b1778f62c8358217f2373 (diff) | |
download | scummvm-rg350-b92d7762df557ff03600035a5fbf862a05a47f13.tar.gz scummvm-rg350-b92d7762df557ff03600035a5fbf862a05a47f13.tar.bz2 scummvm-rg350-b92d7762df557ff03600035a5fbf862a05a47f13.zip |
PRINCE: showHeroShadow warning fix
-rw-r--r-- | engines/prince/hero.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/prince/hero.cpp b/engines/prince/hero.cpp index d5123cc337..58f729a73e 100644 --- a/engines/prince/hero.cpp +++ b/engines/prince/hero.cpp @@ -445,14 +445,14 @@ void Hero::showHeroShadow(Graphics::Surface *heroFrame) { if (ct_loop > shadWallSkipX && ct_loop - shadWallSkipX > shadWallModulo) { //WALL_copy_trans shadWDFlag = false; - int shadZoomX = _scaleValue; + int shadZoomXWall = _scaleValue; int backgroundDiffWall = 0; int shadowHeroXWall = 0; //ct_loop: for (int m = 0; m < ct_loop; m++) { - shadZoomX -= 100; - if (shadZoomX < 0 && _scaleValue != 10000) { - shadZoomX += _scaleValue; + shadZoomXWall -= 100; + if (shadZoomXWall < 0 && _scaleValue != 10000) { + shadZoomXWall += _scaleValue; } else { //point_ok: if (*shadowHero == kShadowColor) { |