diff options
author | Joost Peters | 2003-05-30 14:48:09 +0000 |
---|---|---|
committer | Joost Peters | 2003-05-30 14:48:09 +0000 |
commit | 6eca1c98c785f8226a3df8c63431f19df07dbc0c (patch) | |
tree | f45af5740fc23a8b471a0668248ce5cfc74cd868 | |
parent | 238e75963002093418121321a4abd51e0cb4edf8 (diff) | |
download | scummvm-rg350-6eca1c98c785f8226a3df8c63431f19df07dbc0c.tar.gz scummvm-rg350-6eca1c98c785f8226a3df8c63431f19df07dbc0c.tar.bz2 scummvm-rg350-6eca1c98c785f8226a3df8c63431f19df07dbc0c.zip |
fixed stupid bug
svn-id: r8144
-rw-r--r-- | sky/logic.cpp | 2 | ||||
-rw-r--r-- | sky/text.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index 86133a90ee..c61b619d2e 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1349,7 +1349,7 @@ bool SkyLogic::fnQuit(uint32 a, uint32 b, uint32 c) { } bool SkyLogic::fnSpeakMe(uint32 targetId, uint32 mesgNum, uint32 animNum) { - //stdSpeak(SkyState::fetchCompact(targetId), mesgNum, animNum, 0); + stdSpeak(SkyState::fetchCompact(targetId), mesgNum, animNum, 0); return false; //drop out of script } diff --git a/sky/text.cpp b/sky/text.cpp index 7e13151c36..4ac9318d0b 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -244,7 +244,7 @@ displayText_t SkyText::displayText(char *textPtr, uint8 *dest, bool centre, uint if (_dtData == NULL) _dtData = (byte *)malloc(numBytes); - byte *curDest = dest; + byte *curDest = _dtData; uint32 bytesToClear = numBytes; //no of bytes to clear bytesToClear -= sizeof(struct dataFileHeader); //don't touch the header. |