diff options
author | Tim Angus <tim@ngus.net> | 2005-07-21 01:42:41 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-07-21 01:42:41 +0000 |
commit | 48d452bba1e9845d7935e03c520623f0b65a136d (patch) | |
tree | a14ca612d27d7f254920771b1f0a0d0ceb55afe9 /src/cgame/cg_ents.c | |
parent | e98dcba13a94fb5c826d5d2e50d2a7bcc67040d1 (diff) |
* Change death by dragoon obituary from "clawed" to "chomped"
* Fixed the bug where spectators saw team chat
* Added ping display to the lagometer
* Renormalised some balance variables
* Fixed the bug where bodies would sometimes disappear immediately after death
* Fixed the "dancing buildables" bug
* Fixed the bug where buildable animation sounds were inappropriately played upon entering PVS
* Fixed a subtle stage bug
* Added code to indicate which stage a team is on via the scoreboard
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index 44779bf6..1ed6cb2e 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -889,10 +889,12 @@ CG_CEntityPVSEnter */ static void CG_CEntityPVSEnter( centity_t *cent ) { + entityState_t *es = ¢->currentState; + if( cg_debugPVS.integer ) CG_Printf( "Entity %d entered PVS\n", cent->currentState.number ); - switch( cent->currentState.eType ) + switch( es->eType ) { case ET_MISSILE: CG_LaunchMissile( cent ); @@ -910,7 +912,8 @@ static void CG_CEntityPVSEnter( centity_t *cent ) //make sure that the buildable animations are in a consistent state //when a buildable enters the PVS - cent->buildableAnim = BANIM_NONE; + cent->buildableAnim = cent->lerpFrame.animationNumber = BANIM_NONE; + cent->oldBuildableAnim = es->legsAnim; } |