diff options
author | Willem Jan Palenstijn | 2011-12-27 18:34:23 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-27 18:40:25 +0100 |
commit | 08be0411b1bfba715d5c1b50b50a893a27e12f8c (patch) | |
tree | fb57b47176caf204312ce4ee90ebf67e50c06200 /engines/dreamweb/people.cpp | |
parent | df7bb24184ea599280640107c19f898c43d74ac3 (diff) | |
download | scummvm-rg350-08be0411b1bfba715d5c1b50b50a893a27e12f8c.tar.gz scummvm-rg350-08be0411b1bfba715d5c1b50b50a893a27e12f8c.tar.bz2 scummvm-rg350-08be0411b1bfba715d5c1b50b50a893a27e12f8c.zip |
DREAMWEB: Streamline text file handling
Diffstat (limited to 'engines/dreamweb/people.cpp')
-rw-r--r-- | engines/dreamweb/people.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index a6ebbcc1ec..7adc2b1220 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -917,8 +917,7 @@ void DreamBase::mugger(ReelRoutine &routine) { createPanel2(); showIcon(); - uint16 offset = kTextstart + getSegment(data.word(kPuzzletext)).word(41 * 2); - const uint8 *string = getSegment(data.word(kPuzzletext)).ptr(offset, 0); + const uint8 *string = (const uint8 *)_puzzleText.getString(41); uint16 y = 104; printDirect(&string, 33 + 20, &y, 241, 241 & 1); workToScreen(); |