I have a quick question about this code section:
// broadcast the death event to everyone
ent = G_TempEntity( self->r.currentOrigin, EV_OBITUARY );
ent->s.eventParm = meansOfDeath;
ent->s.otherEntityNum = self->s.number;
ent->s.otherEntityNum2 = killer;
ent->r.svFlags = SVF_BROADCAST; // send to everyone
It’s in g_combat.c, function player_die. I know what the code is doing (sending a death msg, duh), but my question is when is it sent to the client? Is it sent immediately by the last line?
ent->r.svFlags = SVF_BROADCAST
Any help appreciated.
