mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-21 08:51:30 +00:00
Merge pull request #240 from devnexen/master
name field is not a pointer.
This commit is contained in:
commit
c4a86ecb49
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