FULLPIPE: Fix logical error. CID 1086778

This commit is contained in:
Eugene Sandulenko 2013-09-09 21:04:42 +03:00
parent 3cce3f9a91
commit 6ca4b7d514

View file

@ -424,7 +424,7 @@ bool CInteraction::canInteract(GameObject *obj1, GameObject *obj2, int invId) {
return false;
if ((_flags & 8) && (_flags & 1)) {
if (!obj2->_objtype != kObjTypeStaticANIObject)
if (obj2->_objtype != kObjTypeStaticANIObject)
return false;
StaticANIObject *st = (StaticANIObject *)obj2;