forked from e16/e16
1
0
Fork 0

Fix crash on opening certain dialogs when sound is enabled (Valdis Kletnieks).

SVN revision: 27950
This commit is contained in:
Kim Woelders 2007-01-13 18:14:26 +00:00
parent b5da0f0aeb
commit d96c88747d
1 changed files with 3 additions and 0 deletions

View File

@ -271,6 +271,9 @@ SoundPlay(const char *name)
if (!Conf_sound.enable)
return;
if (!name || !*name)
return;
sclass = SclassFind(name);
SclassApply(sclass);
}