[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.451,1.452

kirben kirben at users.sourceforge.net
Fri Sep 9 00:25:02 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3537/scumm

Modified Files:
	script_v6.cpp 
Log Message:

Remove pointless check, exists in all SCUMM6+.


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.451
retrieving revision 1.452
diff -u -d -r1.451 -r1.452
--- script_v6.cpp	2 Sep 2005 11:24:16 -0000	1.451
+++ script_v6.cpp	9 Sep 2005 07:24:11 -0000	1.452
@@ -1334,11 +1334,9 @@
 	a->putActor(0, 0, room);
 	_egoPositioned = false;
 
-	if (VAR_WALKTO_OBJ != 0xFF)
-		VAR(VAR_WALKTO_OBJ) = obj;
+	VAR(VAR_WALKTO_OBJ) = obj;
 	startScene(a->_room, a, obj);
-	if (VAR_WALKTO_OBJ != 0xFF)
-		VAR(VAR_WALKTO_OBJ) = 0;
+	VAR(VAR_WALKTO_OBJ) = 0;
 
 	if (_version == 6) {
 		camera._cur.x = camera._dest.x = a->_pos.x;





More information about the Scummvm-git-logs mailing list