[Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.119,1.120
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Apr 24 05:08:52 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.460,1.461 sound.cpp,1.446,1.447
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 function.cpp,1.80,1.81 icons.cpp,1.42,1.43 logic.cpp,1.54,1.55 logic.h,1.43,1.44 mouse.cpp,1.72,1.73 mouse.h,1.19,1.20 sword2.cpp,1.140,1.141 speech.h,1.9,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23502
Modified Files:
actor.cpp
Log Message:
I believe this is the correct fix for the sanctuary door bug.
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/actor.cpp,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- actor.cpp 22 Apr 2005 14:10:57 -0000 1.119
+++ actor.cpp 24 Apr 2005 12:08:27 -0000 1.120
@@ -1806,12 +1806,14 @@
for (iteratorPoint.y = 0; iteratorPoint.y < _yCellCount; iteratorPoint.y++) {
for (iteratorPoint.x = 0; iteratorPoint.x < _xCellCount; iteratorPoint.x++) {
+ // This is almost, but not quite, the same thing as canWalk().
+ // Is that difference significant or not?
if (_vm->_scene->validBGMaskPoint(iteratorPoint)) {
maskType = _vm->_scene->getBGMaskType(iteratorPoint);
+ setPathCell(iteratorPoint, _vm->_scene->getDoorState(maskType) ? kPathCellBarrier : kPathCellEmpty);
} else {
- maskType = 1;
+ setPathCell(iteratorPoint, kPathCellBarrier);
}
- setPathCell(iteratorPoint, maskType ? kPathCellBarrier : kPathCellEmpty);
}
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.460,1.461 sound.cpp,1.446,1.447
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 function.cpp,1.80,1.81 icons.cpp,1.42,1.43 logic.cpp,1.54,1.55 logic.h,1.43,1.44 mouse.cpp,1.72,1.73 mouse.h,1.19,1.20 sword2.cpp,1.140,1.141 speech.h,1.9,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list