aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/prince/hero.cpp8
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) {