mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
MADS: Fix a bug noticed by eriktorbjorn in the camera code
This commit is contained in:
parent
f146ef065d
commit
6d2dca8cdd
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user