aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/logic.cpp2
-rw-r--r--sky/text.cpp2
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.