diff options
author | Tim Angus <tim@ngus.net> | 2004-01-21 01:45:59 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-01-21 01:45:59 +0000 |
commit | bddf02ca99719240d6a47efc3940ec96656eb810 (patch) | |
tree | fd6b8eccd6833e88daf442d59a889d7878d67bfe /src/cgame/cg_ents.c | |
parent | 96abedcb8c792d4ad2c77bcf522b7998b165bdb0 (diff) |
* (Experimental) fix for a remaining broken buildable bug
* Decreased door trigger size again
* Creep is now triggered by s.time instead of events
* Added CVAR_CHEAT cg_drawBBOX to show the bounding boxes of some entities
* Prevent sprinting if BUTTON_WALK is down
* Increased sprint drain rate
* Client spawning code unified with buildable validation code
* Spawns are now testing for validity before they are built
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index c4b7ecc9..1d6d5733 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -878,13 +878,14 @@ static void CG_CEntityPVSEnter( centity_t *cent ) //clear any particle systems from previous uses of this centity_t cent->muzzlePS = NULL; cent->muzzlePsTrigger = qfalse; - cent->jetPackPS = NULL; cent->jetPackState = JPS_OFF; - cent->buildablePS = NULL; - cent->entityPS = NULL; + + //make sure that the buildable animations are in a consistent state + //when a buildable enters the PVS + cent->buildableAnim = BANIM_NONE; } |