diff options
Diffstat (limited to 'src/game/g_target.c')
| -rw-r--r-- | src/game/g_target.c | 40 | 
1 files changed, 40 insertions, 0 deletions
diff --git a/src/game/g_target.c b/src/game/g_target.c index 216b2550..c704d72f 100644 --- a/src/game/g_target.c +++ b/src/game/g_target.c @@ -390,3 +390,43 @@ void SP_target_rumble( gentity_t *self )    self->think = target_rumble_think;    self->use = target_rumble_use;  } + +/* +=============== +target_alien_win_use +=============== +*/ +void target_alien_win_use( gentity_t *self, gentity_t *other, gentity_t *activator ) +{ +  level.uncondAlienWin = qtrue; +} + +/* +=============== +SP_target_alien_win +=============== +*/ +void SP_target_alien_win( gentity_t *self ) +{ +  self->use = target_alien_win_use; +} + +/* +=============== +target_human_win_use +=============== +*/ +void target_human_win_use( gentity_t *self, gentity_t *other, gentity_t *activator ) +{ +  level.uncondHumanWin = qtrue; +} + +/* +=============== +SP_target_human_win +=============== +*/ +void SP_target_human_win( gentity_t *self ) +{ +  self->use = target_human_win_use; +}  | 
