[Scummvm-cvs-logs] scummvm master -> 6d2dca8cdd3eb8c847aac5e2ee5d050c1de741a6
Strangerke
Strangerke at scummvm.org
Sun Jan 10 23:02:00 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6d2dca8cdd MADS: Fix a bug noticed by eriktorbjorn in the camera code
Commit: 6d2dca8cdd3eb8c847aac5e2ee5d050c1de741a6
https://github.com/scummvm/scummvm/commit/6d2dca8cdd3eb8c847aac5e2ee5d050c1de741a6
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-01-10T22:55:37+01:00
Commit Message:
MADS: Fix a bug noticed by eriktorbjorn in the camera code
Changed paths:
engines/mads/camera.cpp
diff --git a/engines/mads/camera.cpp b/engines/mads/camera.cpp
index a727042..c9b2f14 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;
}
More information about the Scummvm-git-logs
mailing list