mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
fix bug
svn-id: r8147
This commit is contained in:
parent
5725ee392a
commit
32e4e1aa51
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user