Default voice to sfx_ktalk

Someone just needs to put an actual sound for it in sounds.pk3
This commit is contained in:
Sally Coolatta 2023-08-25 13:15:50 -04:00
parent 71e068a8b6
commit e30ff926d8
2 changed files with 3 additions and 3 deletions

View file

@ -1952,7 +1952,7 @@ bool CallFunc_DialogueSetCustomSpeaker(ACSVM::Thread *thread, const ACSVM::Word
ACSVM::String *voiceStr = nullptr; ACSVM::String *voiceStr = nullptr;
const char *voiceName = nullptr; const char *voiceName = nullptr;
sfxenum_t voiceID = sfx_None; sfxenum_t voiceID = sfx_ktalk;
(void)argC; (void)argC;

View file

@ -48,7 +48,7 @@ void Dialogue::SetSpeaker(void)
portrait = nullptr; portrait = nullptr;
portraitColormap = nullptr; portraitColormap = nullptr;
voiceSfx = sfx_None; voiceSfx = sfx_ktalk;
} }
void Dialogue::SetSpeaker(std::string skinName, int portraitID) void Dialogue::SetSpeaker(std::string skinName, int portraitID)
@ -98,7 +98,7 @@ void Dialogue::SetSpeaker(std::string name, patch_t *patch, UINT8 *colormap, sfx
{ {
portrait = nullptr; portrait = nullptr;
portraitColormap = nullptr; portraitColormap = nullptr;
voiceSfx = sfx_None; voiceSfx = sfx_ktalk;
return; return;
} }