mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 17:00:53 +00:00
...
This commit is contained in:
parent
cb9341e599
commit
8bcd4bb291
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue