diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/game/g_active.c | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -123,7 +123,7 @@ RPMARCH=i386 VENDOR=unknown endif #alpha test -BASE_CFLAGS=-pipe -Wall +BASE_CFLAGS=-pipe -Wall -Werror DEBUG_CFLAGS=$(BASE_CFLAGS) -g -pg DEPEND_CFLAGS= -MM 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; |