This commit is contained in:
parent
973d12c1e9
commit
4a58e310b8
4 changed files with 24 additions and 0 deletions
|
@ -496,6 +496,15 @@ void CConversation::setCharacterAndText(int _characterId,int _textId)
|
|||
s_maxTextPageOffset=i/TEXTBOX_FONT_NUM_LINES_IN_BOX;
|
||||
s_textPageOffset=0;
|
||||
|
||||
for (int i=0; i<SpeechTableSize; i++)
|
||||
{
|
||||
if (SpeechTable[i].TextID==_textId)
|
||||
{
|
||||
CSoundMediator::playSpeech((SpeechEquate)SpeechTable[i].SpeechID);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
PAUL_DBGMSG("calced height=%d",s_maxTextPageOffset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue