mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
The parser is supposed to parse an unknown number as a special word, but we have been using the wrong class code. This caused the parser to reject such input in kParse, preventing scripts from matching on unknown numbers with kSaid. It's unclear if FreeSCI had this bug, or if we changed the code structure later but forgot to add bit shifting to this line. While investigating, I found that early SCI0 did not parse unknown numbers, so I added a version check. Fixes: - PQ2 phone when dialing a wrong number - LSL2 message when entering digits (later versions) - LSL3 message when entering digits - LSL3 locker room when entering digits Thanks to @andrewmilici for reporting this Fixes bug #16431