mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
SCI: skip spaces in kReadNumber - this happens in lsl3 intro
svn-id: r49345
This commit is contained in:
parent
7001d3e615
commit
9d50dac101
@ -151,6 +151,10 @@ reg_t kReadNumber(EngineState *s, int argc, reg_t *argv) {
|
||||
source++;
|
||||
}
|
||||
while (*source) {
|
||||
if (*source == ' ') {
|
||||
source++; // skip spaces - happens in lsl3 intro
|
||||
continue;
|
||||
}
|
||||
if ((*source < '0') || (*source > '9')) {
|
||||
// TODO: this happens in lsl5 right in the intro -> we get '1' '3' 0xCD 0xCD 0xCD 0xCD 0xCD
|
||||
// find out why this happens and fix it
|
||||
|
Loading…
Reference in New Issue
Block a user