aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/items.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp
index 087d2b7f16..85ae92bee8 100644
--- a/engines/agos/items.cpp
+++ b/engines/agos/items.cpp
@@ -374,7 +374,7 @@ void AGOSEngine::linkItem(Item *item, Item *parent) {
int AGOSEngine::wordMatch(Item *item, int16 a, int16 n) {
if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) {
- if (a == -1 && (n == -1)
+ if (a == -1 && n == -1)
return 1;
}
if (a == -1 && n == item->noun)