AVALANCHE: Fix 3 issues reported by Coverity.
This commit is contained in:
parent
97d28f0e72
commit
da2ddbb8f4
3 changed files with 3 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ bool Parser::isHolding() {
|
|||
|
||||
bool holdingResult = false;
|
||||
|
||||
if (_thing > 100)
|
||||
if (_thing >= 100)
|
||||
_vm->_dialogs->displayText("Be reasonable!");
|
||||
else if (_thing <= kObjectNum) {
|
||||
if (!_vm->_objects[_thing - 1])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue