0
0
Fork 0
mirror of https://github.com/yquake2/yquake2remaster.git synced 2025-03-06 17:41:01 +00:00

name field is not a pointer.

This commit is contained in:
David Carlier 2017-09-26 21:16:49 +01:00
parent b1e3c90a51
commit 54f9798fc8

View file

@ -669,7 +669,7 @@ S_StartSound(vec3_t origin, int entnum, int entchannel, sfx_t *sfx,
ps->fixed_origin = false; ps->fixed_origin = false;
} }
if (sfx->name) if (sfx->name[0])
{ {
// with !fixed we have all sounds related directly to player, // with !fixed we have all sounds related directly to player,
// e.g. players fire, pain, menu // e.g. players fire, pain, menu