Fix typo in switchVoiceFile() for FF
svn-id: r22053
This commit is contained in:
parent
b6783677b5
commit
25ca897466
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ void Sound::switchVoiceFile(const GameSpecificSettings *gss, uint disc) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (!_hasVoiceFile) {
|
if (!_hasVoiceFile) {
|
||||||
sprintf(filename, "%s%d.ogg", gss->speech_filename, disc);
|
sprintf(filename, "%s%d.wav", gss->speech_filename, disc);
|
||||||
file->open(filename);
|
file->open(filename);
|
||||||
if (file->isOpen() == false) {
|
if (file->isOpen() == false) {
|
||||||
warning("switchVoiceFile: Can't load voice file %s", filename);
|
warning("switchVoiceFile: Can't load voice file %s", filename);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue