From 6ca4b7d5146d282ff3d41efa70f92cfe877beafc Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 9 Sep 2013 21:04:42 +0300 Subject: FULLPIPE: Fix logical error. CID 1086778 --- engines/fullpipe/interaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/fullpipe') diff --git a/engines/fullpipe/interaction.cpp b/engines/fullpipe/interaction.cpp index cdf39d29ae..270f5b5a87 100644 --- a/engines/fullpipe/interaction.cpp +++ b/engines/fullpipe/interaction.cpp @@ -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; -- cgit v1.2.3