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:
TimeServ 2005-10-10 02:18:11 +00:00
parent a972b7cb12
commit 5764597646

View file

@ -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;