update for scumm v2

svn-id: r7137
This commit is contained in:
Paweł Kołodziejski 2003-04-26 16:37:35 +00:00
parent 1b5cac75f5
commit 6bd3454ae5
5 changed files with 598 additions and 127 deletions

View file

@ -473,12 +473,6 @@ void Scumm::writeVar(uint var, int value) {
void Scumm::getResultPos() {
int a;
// FIXME: Subclass this properly
if (_features & GF_AFTER_V2) {
_resultVarNumber = fetchScriptByte();
return;
}
_resultVarNumber = fetchScriptWord();
if (_resultVarNumber & 0x2000) {
a = fetchScriptWord();