diff options
author | uruk | 2013-08-26 20:13:43 +0200 |
---|---|---|
committer | uruk | 2013-08-26 20:13:43 +0200 |
commit | 338dac4e10b4795096ee3cce9fd895e783a14efa (patch) | |
tree | 381e792cfc8d5dc88c958117efb3ea2190ad753d /engines/avalanche/timeout2.cpp | |
parent | 06346339a9deb849e09f25049c42a1bcd0a45e0c (diff) | |
download | scummvm-rg350-338dac4e10b4795096ee3cce9fd895e783a14efa.tar.gz scummvm-rg350-338dac4e10b4795096ee3cce9fd895e783a14efa.tar.bz2 scummvm-rg350-338dac4e10b4795096ee3cce9fd895e783a14efa.zip |
AVALANCHE: Implement Acci::store_interrogation() and all the functions it uses.
Diffstat (limited to 'engines/avalanche/timeout2.cpp')
-rw-r--r-- | engines/avalanche/timeout2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/timeout2.cpp b/engines/avalanche/timeout2.cpp index e7508ec5ae..5c786ce3e8 100644 --- a/engines/avalanche/timeout2.cpp +++ b/engines/avalanche/timeout2.cpp @@ -293,15 +293,15 @@ void Timeout::stairs() { } void Timeout::cardiff_survey() { - switch (_vm->_gyro->dna.cardiff_things) { - case 0: - _vm->_gyro->dna.cardiff_things += 1; + if (_vm->_gyro->dna.cardiff_things == 0) { + _vm->_gyro->dna.cardiff_things++; _vm->_visa->dixi('q', 27); - break; } + _vm->_visa->dixi('z', _vm->_gyro->dna.cardiff_things); _vm->_gyro->interrogation = _vm->_gyro->dna.cardiff_things; + set_up_timer(182, proccardiffsurvey, reason_cardiffsurvey); } |