aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/glk/quest/reserved_words.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/quest/reserved_words.h b/engines/glk/quest/reserved_words.h
index 5d736078b7..52c3e2191a 100644
--- a/engines/glk/quest/reserved_words.h
+++ b/engines/glk/quest/reserved_words.h
@@ -59,7 +59,7 @@ public:
* Returns true if the passed string is a reserved word
*/
bool has(const String &s) const {
- return _data.contains(s) && (*this)[s];
+ return _data.contains(s) && _data[s];
}
/**