summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-16 21:38:35 +0000
committerTim Angus <tim@ngus.net>2007-09-16 21:38:35 +0000
commitd102b33653c85fe635d9addf9513c16dce941584 (patch)
tree0c0f433b28eac5ef9bdd1d740afaa2dcf49ea7bb /src/game/g_cmds.c
parent97a546ab92c1684de7e552cde36bcfe3f406e2fa (diff)
* (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
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 2 insertions, 0 deletions
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