diff --git a/engine/client/zqtp.c b/engine/client/zqtp.c index a75366f58..4f29fd80e 100644 --- a/engine/client/zqtp.c +++ b/engine/client/zqtp.c @@ -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;