aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-14 07:07:15 -0400
committerPaul Gilbert2018-03-14 07:07:15 -0400
commitb4a9093d759257dd8a1138059fe5d404c4ed902c (patch)
tree80cb94376859dbb75ce1766b01ccd558b5c2c93e
parent5dbc6249033a0cb027df9a425e10eb67196be8fc (diff)
downloadscummvm-rg350-b4a9093d759257dd8a1138059fe5d404c4ed902c.tar.gz
scummvm-rg350-b4a9093d759257dd8a1138059fe5d404c4ed902c.tar.bz2
scummvm-rg350-b4a9093d759257dd8a1138059fe5d404c4ed902c.zip
XEEN: Fix selecting items in items dialog
-rw-r--r--engines/xeen/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/item.h b/engines/xeen/item.h
index d951353851..e927908d01 100644
--- a/engines/xeen/item.h
+++ b/engines/xeen/item.h
@@ -74,7 +74,7 @@ public:
/**
* Returns true if no item is set
*/
- bool empty() const { return _id != 0; }
+ bool empty() const { return _id == 0; }
/**
* Synchronizes the data for the item