[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.258,2.259
kirben
kirben at users.sourceforge.net
Mon Mar 14 20:18:22 CET 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25157/scumm
Modified Files:
script_v2.cpp
Log Message:
Fix verbs position in NES maniac for now.
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.258
retrieving revision 2.259
diff -u -d -r2.258 -r2.259
--- script_v2.cpp 13 Mar 2005 23:18:57 -0000 2.258
+++ script_v2.cpp 15 Mar 2005 04:16:25 -0000 2.259
@@ -818,8 +818,10 @@
slot = getVarOrDirectByte(PARAM_1) + 1;
int prep = fetchScriptByte(); // Only used in V1?
// V1 Maniac verbs are relative to the 'verb area' - under the sentence
- if ((_gameId == GID_MANIAC) && (_version == 1))
- y+=8;
+ if (_features & GF_NES)
+ y -= 16;
+ else if ((_gameId == GID_MANIAC) && (_version == 1))
+ y += 8;
//printf("o2_verbOps: verb = %d, slot = %d, x = %d, y = %d, unk = %d, name = %s\n",
// verb, slot, x, y, prep, _scriptPointer);
More information about the Scummvm-git-logs
mailing list