diff options
author | Oliver Kiehl | 2003-05-30 16:01:07 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-05-30 16:01:07 +0000 |
commit | 32e4e1aa5165275d4e0bc40606662f4c18f1c621 (patch) | |
tree | 39263fe68b987f4c5b0da26b6cdc5af9089150e8 /sky | |
parent | 5725ee392a90d2ea18e55e37dd0b6b48ca53372b (diff) | |
download | scummvm-rg350-32e4e1aa5165275d4e0bc40606662f4c18f1c621.tar.gz scummvm-rg350-32e4e1aa5165275d4e0bc40606662f4c18f1c621.tar.bz2 scummvm-rg350-32e4e1aa5165275d4e0bc40606662f4c18f1c621.zip |
fix bug
svn-id: r8147
Diffstat (limited to 'sky')
-rw-r--r-- | sky/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/text.cpp b/sky/text.cpp index 4ac9318d0b..14802bff9c 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -358,8 +358,8 @@ lowTextManager_t SkyText::lowTextManager(uint32 textNum, uint16 width, uint16 lo cpt->flag = (uint16)(compactNum - FIRST_TEXT_COMPACT) + FIRST_TEXT_BUFFER; - byte *oldText = (byte *)SkyState::_itemList[compactNum]; - SkyState::_itemList[compactNum] = (void **)textData; + byte *oldText = (byte *)SkyState::_itemList[cpt->flag]; + SkyState::_itemList[cpt->flag] = (void **)textData; if (oldText != NULL) free (oldText); |