diff options
author | Tim Angus <tim@ngus.net> | 2005-07-03 02:15:59 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-07-03 02:15:59 +0000 |
commit | b241a2db32d60741d6f9e23934a564460f23a386 (patch) | |
tree | 4e03f7749733b4896d7583a68309a1518d788555 /src | |
parent | 7e630e1fcdfc61a3c88fffbf49a96cccd636cbf4 (diff) |
* Booster needs to spawn before boosting
* Fix to [ 962477 ] Chasecam bug
* Added -Werror to CFLAGS
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_active.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index d22a8b2b..792817ac 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -336,6 +336,8 @@ void SpectatorThink( gentity_t *ent, usercmd_t *ucmd ) client->ps.speed = 400; // faster than normal + client->ps.stats[ STAT_STAMINA ] = 0; + // set up for pmove memset( &pm, 0, sizeof( pm ) ); pm.ps = &client->ps; @@ -713,7 +715,8 @@ void ClientTimerActions( gentity_t *ent, int msec ) break; } else if( boostEntity->s.eType == ET_BUILDABLE && - boostEntity->s.modelindex == BA_A_BOOSTER ) + boostEntity->s.modelindex == BA_A_BOOSTER && + boostEntity->spawned ) { modifier = BOOSTER_REGEN_MOD; break; |