[Scummvm-cvs-logs] CVS: scummvm/saga scene.cpp,1.65,1.66
Andrew Kurushin
h00ligan at users.sourceforge.net
Wed Dec 29 14:51:03 CET 2004
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18536
Modified Files:
scene.cpp
Log Message:
- fixed canWalk bug
Index: scene.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/scene.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- scene.cpp 29 Dec 2004 19:40:59 -0000 1.65
+++ scene.cpp 29 Dec 2004 22:50:19 -0000 1.66
@@ -377,8 +377,8 @@
if (!_bgMask.loaded) {
return true;
}
- if ((testPoint.x < 0) || (testPoint.x > _bgMask.w) ||
- (testPoint.y < 0) || (testPoint.y > _bgMask.h)) {
+ if ((testPoint.x < 0) || (testPoint.x >= _bgMask.w) ||
+ (testPoint.y < 0) || (testPoint.y >= _bgMask.h)) {
return true;
}
maskType = getBGMaskType(testPoint);
More information about the Scummvm-git-logs
mailing list