aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-13 16:11:23 +0000
committerMax Horn2002-12-13 16:11:23 +0000
commit7bcbcde9941f05179ab68175c4e6529dae41927e (patch)
tree07d568d7e0f056b93b6c30b687bc8c15c278212f
parent2b8882427e89fe5784f622142d6bd78cc384ecc4 (diff)
downloadscummvm-rg350-7bcbcde9941f05179ab68175c4e6529dae41927e.tar.gz
scummvm-rg350-7bcbcde9941f05179ab68175c4e6529dae41927e.tar.bz2
scummvm-rg350-7bcbcde9941f05179ab68175c4e6529dae41927e.zip
nitpick
svn-id: r5930
-rw-r--r--scumm/gfx.cpp4
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;
}