diff options
Diffstat (limited to 'queen/sound.cpp')
-rw-r--r-- | queen/sound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp index 8d560a9af8..26c75af9a1 100644 --- a/queen/sound.cpp +++ b/queen/sound.cpp @@ -90,7 +90,11 @@ void Sound::playSfx(uint16 sfx, bool isSpeech) { if (sfx != 0) { char name[13]; +#ifndef __PALM_OS__ strcpy(name, _sfxName[sfx - 1]); +#else + strncpy(name, _sfxName + 10 * (sfx - 1), 10); // saved as 8char + /0/0 +#endif strcat(name, ".SB"); waitFinished(isSpeech); sfxPlay(name, isSpeech); |