and more share code

svn-id: r7150
This commit is contained in:
Paweł Kołodziejski
2003-04-27 09:39:52 +00:00
parent a94afe4120
commit 33c600dde5
4 changed files with 39 additions and 249 deletions
+1 -2
View File
@@ -336,7 +336,6 @@ int Scumm::getVarOrDirectByte(byte mask) {
return readVar(fetchScriptByte());
else
return readVar(fetchScriptWord());
return fetchScriptByte();
}
@@ -346,7 +345,7 @@ int Scumm::getVarOrDirectWord(byte mask) {
return readVar(fetchScriptByte());
else
return readVar(fetchScriptWord());
return fetchScriptWord();
return (int16)fetchScriptWord();
}
#ifndef BYPASS_COPY_PROT