diff options
-rw-r--r-- | engines/mads/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/camera.cpp b/engines/mads/camera.cpp index a727042551..c9b2f1429e 100644 --- a/engines/mads/camera.cpp +++ b/engines/mads/camera.cpp @@ -133,7 +133,7 @@ bool Camera::camPan(int16 *picture_view, int16 *player_loc, int display_size, in int lowEdge = *picture_view + _startTolerance; int highEdge = *picture_view - _startTolerance + display_size - 1; - if ((*player_loc < lowEdge) && (picture_view > 0)) { + if ((*player_loc < lowEdge) && (*picture_view > 0)) { _activeFl = true; _direction = -1; } |