From d102b33653c85fe635d9addf9513c16dce941584 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 16 Sep 2007 21:38:35 +0000 Subject: * (bug 2783) Rework lcannon firing logic * Remove STAT_BOOSTEDTIME, instead inferring it via SS_BOOSTED * Set EF_TELEPORT_BIT when buying or selling the bsuit --- src/game/g_cmds.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/g_cmds.c') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 54928853..e383635b 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2139,6 +2139,7 @@ void Cmd_Buy_f( gentity_t *ent ) } VectorCopy( newOrigin, ent->s.pos.trBase ); ent->client->ps.stats[ STAT_PCLASS ] = PCL_HUMAN_BSUIT; + ent->client->ps.eFlags ^= EF_TELEPORT_BIT; } //add to inventory @@ -2246,6 +2247,7 @@ void Cmd_Sell_f( gentity_t *ent ) } VectorCopy( newOrigin, ent->s.pos.trBase ); ent->client->ps.stats[ STAT_PCLASS ] = PCL_HUMAN; + ent->client->ps.eFlags ^= EF_TELEPORT_BIT; } //add to inventory -- cgit