From 7bcbcde9941f05179ab68175c4e6529dae41927e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 13 Dec 2002 16:11:23 +0000 Subject: nitpick svn-id: r5930 --- scumm/gfx.cpp | 4 ++-- 1 file 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; } -- cgit v1.2.3