diff options
Diffstat (limited to 'sky/logic.cpp')
| -rw-r--r-- | sky/logic.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/sky/logic.cpp b/sky/logic.cpp index c764e3eb80..f384b17c29 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -2474,14 +2474,13 @@ bool Logic::fnPrintf(uint32 a, uint32 b, uint32 c) {  void Logic::stdSpeak(Compact *target, uint32 textNum, uint32 animNum, uint32 base) { -	uint16 *animPtr; -  	animNum += target->megaSet / NEXT_MEGA_SET;  	animNum &= 0xFF; -	target->grafixProgId = TALKTABLE_LIST_ID + animNum; +	uint16 *talkTable = (uint16*)_skyCompact->fetchCpt(CPT_TALK_TABLE_LIST); +	target->grafixProgId = talkTable[animNum];  	target->grafixProgPos = 0; -	animPtr = _skyCompact->getGrafixPtr(target); +	uint16 *animPtr = _skyCompact->getGrafixPtr(target);  	if (animPtr) {  		target->offset = *animPtr++; | 
