diff options
author | Max Horn | 2003-05-24 16:11:47 +0000 |
---|---|---|
committer | Max Horn | 2003-05-24 16:11:47 +0000 |
commit | 07df5bd181efe00c6a7341bd3fdc74239080b057 (patch) | |
tree | bf6d2cecc8de29794bb2110d195a5a538b43835e /scumm/script_v5.cpp | |
parent | 41df21ed6b898286759510c9b5239213b48abf41 (diff) | |
download | scummvm-rg350-07df5bd181efe00c6a7341bd3fdc74239080b057.tar.gz scummvm-rg350-07df5bd181efe00c6a7341bd3fdc74239080b057.tar.bz2 scummvm-rg350-07df5bd181efe00c6a7341bd3fdc74239080b057.zip |
cleanup / minor tweak
svn-id: r7890
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index bef146cf0c..c009caafc1 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -731,11 +731,11 @@ void Scumm_v5::o5_divide() { } void Scumm_v5::o5_doSentence() { - int a; + int verb; SentenceTab *st; - a = getVarOrDirectByte(0x80); - if (a == 0xFE) { + verb = getVarOrDirectByte(0x80); + if (verb == 0xFE) { _sentenceNum = 0; stopScript(VAR(VAR_SENTENCE_SCRIPT)); clearClickedStatus(); @@ -744,7 +744,7 @@ void Scumm_v5::o5_doSentence() { st = &_sentence[_sentenceNum++]; - st->verb = a; + st->verb = verb; st->objectA = getVarOrDirectWord(0x40); st->objectB = getVarOrDirectWord(0x20); st->preposition = (st->objectB != 0); |