diff options
author | Paul Gilbert | 2015-02-23 20:04:52 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-23 20:04:52 -0500 |
commit | 20bdb154f60f590759627b4782e72e88d34bef2d (patch) | |
tree | 57b4bd1469872a13c126bef2e80f7f60e6376a72 /engines/xeen | |
parent | cba25ea458e428d2e9c1e6e30bb86a5c9da72b54 (diff) | |
download | scummvm-rg350-20bdb154f60f590759627b4782e72e88d34bef2d.tar.gz scummvm-rg350-20bdb154f60f590759627b4782e72e88d34bef2d.tar.bz2 scummvm-rg350-20bdb154f60f590759627b4782e72e88d34bef2d.zip |
XEEN: Fix _newDay initialization
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index 434320762d..e6305bfd88 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -182,7 +182,7 @@ void Interface::setup() { Party &party = *_vm->_party; party.loadActiveParty(); - party._newDay = party._minutes >= 300; + party._newDay = party._minutes < 300; } void Interface::startup() { @@ -581,7 +581,7 @@ void Interface::perform() { } void Interface::chargeStep() { - if (_vm->_party->_partyDead) { + if (!_vm->_party->_partyDead) { _vm->_party->changeTime(_vm->_map->_isOutdoors ? 10 : 1); if (!_tillMove) { _vm->_combat->moveMonsters(); |