diff options
author | Torbjörn Andersson | 2015-01-20 19:21:39 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2015-01-20 19:21:39 +0100 |
commit | ad83f033151ac6cf6345e6a83a0903ad6499c0ca (patch) | |
tree | 418898387f1ec0bd8cf1f3456b86fd7adb688c92 /plugin.exp | |
parent | 750d72812b36bfed3043080d633798854dc4008d (diff) | |
download | scummvm-rg350-ad83f033151ac6cf6345e6a83a0903ad6499c0ca.tar.gz scummvm-rg350-ad83f033151ac6cf6345e6a83a0903ad6499c0ca.tar.bz2 scummvm-rg350-ad83f033151ac6cf6345e6a83a0903ad6499c0ca.zip |
ZVISION: Fix mis-parsing of criteria, a.k.a bug #6774
A condition in a criteria is made up of three tokens: An id, an
operator and an id/value. However, in my copy of ZGI, puzzle:07507
has "[00202] !3 # SPELL_12_IN_BOOK", i.e. there was no space
between the second and third tokens. This caused the "glorf" spell
to not be properly inscribed in your spell book.
To fix this, if the second token is more than one character we use
the rest of it as the third token.
Diffstat (limited to 'plugin.exp')
0 files changed, 0 insertions, 0 deletions