mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
AVALANCHE: Avoid check in isHolding when _thing isn't set
This commit is contained in:
parent
5a43fef4e6
commit
0a5d92527d
@ -1040,6 +1040,8 @@ bool Parser::isHolding() {
|
||||
// Also object
|
||||
if ((51 <= _thing) && (_thing <= 99))
|
||||
return true;
|
||||
if (_thing == 0)
|
||||
return false;
|
||||
|
||||
bool holdingResult = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user