diff options
author | Paweł Redman <trem.redman@gmail.com> | 2013-09-12 23:34:27 +0200 |
---|---|---|
committer | Paweł Redman <trem.redman@gmail.com> | 2013-09-12 23:34:27 +0200 |
commit | f49e84e3aba12104dce4103e647b33a94134c47a (patch) | |
tree | 7120de44a55dd59619f3ff30eacc6322721a2726 /src/game/g_cmds.c | |
parent | e36075a420f446225ae8632fb2df3cf2ad6bec47 (diff) |
0.1.5
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index ef5a864..3578b08 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -3295,16 +3295,14 @@ void Cmd_Damage_f( gentity_t *ent ) Cmd_Debug1_f ================= */ -void Cmd_Debug1_f( gentity_t *self ) +void Cmd_Debug1_f( gentity_t *other ) { - gentity_t *ent; - ent = G_TempEntity( self->r.currentOrigin, EV_OBITUARY ); - ent->s.eventParm = MOD_MACHINEGUN; - ent->s.otherEntityNum = self->s.number; - ent->s.modelindex = self->client->ps.stats[ STAT_CLASS ]; - ent->s.otherEntityNum2 = 1; - ent->s.groundEntityNum = 666; - ent->r.svFlags = SVF_BROADCAST; // send to everyone + other->client->isImpregnated = qtrue; + other->client->isImplantMature = qfalse; + other->client->impregnationTime = level.time; + other->client->impregnatedBy = -1; + other->client->isImplantMature = qtrue; + other->client->ps.stats[ STAT_STATE ] |= SS_IMPLANTED; } /* |