SCUMM: _resultVarNumber and related methods are specific to v0-v5
svn-id: r51974
This commit is contained in:
parent
aa9f9c7e7e
commit
b8ee574e40
4 changed files with 12 additions and 6 deletions
|
@ -708,7 +708,7 @@ void ScummEngine::writeVar(uint var, int value) {
|
|||
error("Illegal varbits (w)");
|
||||
}
|
||||
|
||||
void ScummEngine::getResultPos() {
|
||||
void ScummEngine_v5::getResultPos() {
|
||||
int a;
|
||||
|
||||
_resultVarNumber = fetchScriptWord();
|
||||
|
@ -723,7 +723,7 @@ void ScummEngine::getResultPos() {
|
|||
}
|
||||
}
|
||||
|
||||
void ScummEngine::setResult(int value) {
|
||||
void ScummEngine_v5::setResult(int value) {
|
||||
writeVar(_resultVarNumber, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue