This commit is contained in:
Walter Julius Hennecke 2013-05-23 23:33:03 +02:00
parent cb9341e599
commit 8bcd4bb291

View file

@ -2410,6 +2410,11 @@ static void G_ClearObjectives( void )
gentity_t *tent;
tent = G_TempEntity( vec3_origin, EV_OBJECTIVE_COMPLETE );
if(tent == NULL) {
return;
}
//Be sure to send the event to everyone
tent->r.svFlags |= SVF_BROADCAST;
tent->s.eventParm = 0;//tells it to clear all