diff options
author | Strangerke | 2014-12-08 07:45:11 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:03:27 -0500 |
commit | 7508e7b5f8c491556b65ff48d54f289cec9532b1 (patch) | |
tree | dc9b268b807af9c40a066ea12c9e614a1877c604 /engines/access/amazon/amazon_logic.cpp | |
parent | 86bee5b48ecbadf9c8f1b4ae2f48c8bcbdf3fce9 (diff) | |
download | scummvm-rg350-7508e7b5f8c491556b65ff48d54f289cec9532b1.tar.gz scummvm-rg350-7508e7b5f8c491556b65ff48d54f289cec9532b1.tar.bz2 scummvm-rg350-7508e7b5f8c491556b65ff48d54f289cec9532b1.zip |
ACCESS: Minor River cleanup
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index cb655bbf14..89ea81507b 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -1362,6 +1362,7 @@ River::River(AmazonEngine *vm): PannedScene(vm) { _deathFlag = false; _deathCount = 0; _oldScrollCol = 0; + _maxHits = 0; } void River::setRiverPan() { @@ -1467,7 +1468,7 @@ void River::initRiver() { _vm->_timers[12]._initTm = 1500; ++_vm->_timers[12]._flag; - _vm->_maxHits = 2 - _vm->_riverFlag; + _maxHits = 2 - _vm->_riverFlag; _saveRiver = false; } @@ -1558,7 +1559,6 @@ void River::riverSound() { } void River::moveCanoe() { - Screen &screen = *_vm->_screen; EventsManager &events = *_vm->_events; Common::Point pt = events.calcRawMouse(); |