diff options
Diffstat (limited to 'src/client/snd_dma.c')
-rw-r--r-- | src/client/snd_dma.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/snd_dma.c b/src/client/snd_dma.c index 8aca94ce..369c9388 100644 --- a/src/client/snd_dma.c +++ b/src/client/snd_dma.c @@ -272,6 +272,11 @@ static sfx_t *S_FindName( const char *name ) { return NULL; } + if (name[0] == '*') { + Com_Printf( S_COLOR_YELLOW "WARNING: Tried to load player sound directly: %s\n", name ); + return NULL; + } + hash = S_HashSFXName(name); sfx = sfxHash[hash]; |