small fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1461 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a972b7cb12
commit
5764597646
1 changed files with 3 additions and 0 deletions
|
@ -2984,6 +2984,9 @@ qbool TP_CheckSoundTrigger (char *str)
|
|||
char soundname[MAX_OSPATH];
|
||||
FILE *f;
|
||||
|
||||
if (!*str)
|
||||
return false;
|
||||
|
||||
if (!tp_soundtrigger.string[0])
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue