mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-13 00:24:44 +00:00
name field is not a pointer.
This commit is contained in:
parent
b1e3c90a51
commit
54f9798fc8
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ S_StartSound(vec3_t origin, int entnum, int entchannel, sfx_t *sfx,
|
|||
ps->fixed_origin = false;
|
||||
}
|
||||
|
||||
if (sfx->name)
|
||||
if (sfx->name[0])
|
||||
{
|
||||
// with !fixed we have all sounds related directly to player,
|
||||
// e.g. players fire, pain, menu
|
||||
|
|
Loading…
Reference in a new issue