AVALANCHE: Avoid check in isHolding when _thing isn't set

This commit is contained in:
Strangerke 2014-01-09 07:53:41 +01:00
parent 5a43fef4e6
commit 0a5d92527d

View File

@ -1040,6 +1040,8 @@ bool Parser::isHolding() {
// Also object
if ((51 <= _thing) && (_thing <= 99))
return true;
if (_thing == 0)
return false;
bool holdingResult = false;