diff options
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 1e9ad05e76..80f10d1f4e 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -818,7 +818,7 @@ void Scumm::redrawBGAreas() _BgNeedsRedraw = false; } -const uint32 zplane_tags[] = { +static const uint32 zplane_tags[] = { MKID('ZP00'), MKID('ZP01'), MKID('ZP02'), @@ -2428,7 +2428,7 @@ void Scumm::moveCamera() } /* a is set a bit above */ - if (camera._movingToActor && camera._cur.x >> 3 == a->x >> 3) { + if (camera._movingToActor && (camera._cur.x >> 3) == (a->x >> 3)) { camera._movingToActor = false; } |