[Scummvm-tracker] [ScummVM :: Bugs] #10432: WME Carol Reed Mysteries hint system not working
ScummVM :: Bugs
trac at scummvm.org
Tue Jun 18 20:21:00 CEST 2019
#10432: WME Carol Reed Mysteries hint system not working
--------------------------+--------------------------------
Reporter: albadross | Owner: somaen
Type: enhancement | Status: pending
Priority: normal | Component: Engine: Wintermute
Resolution: fixed | Keywords:
Game: Wintermute |
--------------------------+--------------------------------
Comment (by Filippos Karapetis <bluegr@…>):
In [changeset:"a7efc8afd8f4831d00eec82bfdd8b299f56f6d52" a7efc8a]:
{{{
#!CommitTicketReference repository=""
revision="a7efc8afd8f4831d00eec82bfdd8b299f56f6d52"
WINTERMUTE: Fix Split() method of ext_string
It's hard to believe, but this fixes bug "#10432" WME Carol Reed
Mysteries hint system not working.
Carol Reed hint system happen to heavily use line.Split(";") results,
which were wrong by 1 byte (delimeter was appended to result while it
shouldn't be).
I started with decompiling Carol Reed source code, reproducing issue
with a stand-alone test project (which worked with WME and showed [null]
with ScummVM). then minimized it to a minimal testcase:
var line = new String("New Goal;Visit Christina at the Art
Museum;1;0;S;;");
var ar = line.Split(";");
if((ar[0] == "New Goal")) { var g = ar[1]; }
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/10432#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list