diff options
author | Paul Gilbert | 2019-07-21 10:40:39 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-29 15:08:52 -0700 |
commit | 32c9deefb7331ae1c4f25f99b44e71189f977b76 (patch) | |
tree | 1f5765f5d0831b427089c4cfc1f828fbc3e2d9ac /engines/glk | |
parent | 30bf05479a8d4b9e63b243b0f1acac3fb946da32 (diff) | |
download | scummvm-rg350-32c9deefb7331ae1c4f25f99b44e71189f977b76.tar.gz scummvm-rg350-32c9deefb7331ae1c4f25f99b44e71189f977b76.tar.bz2 scummvm-rg350-32c9deefb7331ae1c4f25f99b44e71189f977b76.zip |
GLK: QUEST: Fix infinite recursion
Diffstat (limited to 'engines/glk')
-rw-r--r-- | engines/glk/quest/reserved_words.h | 2 |
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]; } /** |