aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-04-28 03:13:49 +0000
committerJonathan Gray2003-04-28 03:13:49 +0000
commit7529493778e54e0dfdc84dff795ba499ced29aa2 (patch)
tree945a8c1511861a142fe371ab0d4041d42667c55f /scumm/script.cpp
parentd95deb809d5052eb471dfc798309a1c6a8cafdb6 (diff)
downloadscummvm-rg350-7529493778e54e0dfdc84dff795ba499ced29aa2.tar.gz
scummvm-rg350-7529493778e54e0dfdc84dff795ba499ced29aa2.tar.bz2
scummvm-rg350-7529493778e54e0dfdc84dff795ba499ced29aa2.zip
get rid of one of the obscure variable names
svn-id: r7171
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r--scumm/script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 6828c7c7ac..9cbde710bc 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -794,7 +794,7 @@ void Scumm::doSentence(int c, int b, int a) {
// Check if this doSentence request is identical to the previous one;
// if yes, ignore this invocation.
- if (_sentenceNum && st->unk5 == c && st->unk4 == b && st->unk3 == a)
+ if (_sentenceNum && st->verb == c && st->unk4 == b && st->unk3 == a)
return;
_sentenceNum++;
@@ -811,7 +811,7 @@ void Scumm::doSentence(int c, int b, int a) {
}
- st->unk5 = c;
+ st->verb = c;
st->unk4 = b;
st->unk3 = a;
st->freezeCount = 0;
@@ -838,7 +838,7 @@ void Scumm::checkAndRunSentenceScript() {
if (_sentence[_sentenceNum].unk2 && _sentence[_sentenceNum].unk3 == _sentence[_sentenceNum].unk4)
return;
- _localParamList[0] = _sentence[_sentenceNum].unk5;
+ _localParamList[0] = _sentence[_sentenceNum].verb;
_localParamList[1] = _sentence[_sentenceNum].unk4;
_localParamList[2] = _sentence[_sentenceNum].unk3;
_currentScript = 0xFF;