summaryrefslogtreecommitdiff
path: root/src/cgame/cg_ents.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-11-19 01:54:33 +0000
committerTim Angus <tim@ngus.net>2003-11-19 01:54:33 +0000
commit743e132f5d95782e57324bfefdd652d86f621a5d (patch)
treef3d4a8d199e495e3adf552f86e6439cf325c452b /src/cgame/cg_ents.c
parentc2f6695b62a3d2264b073c8bd59759237cf56af4 (diff)
* Added g_maprotation.c to the Makefile
* (Experimental) fix for the broken buildables bug * Fixed selling active jetpack bug * Fixed usable buildable appearing for opposing teams buildables
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r--src/cgame/cg_ents.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c
index b56a1a40..1ae81676 100644
--- a/src/cgame/cg_ents.c
+++ b/src/cgame/cg_ents.c
@@ -879,6 +879,9 @@ static void CG_CEntityPVSEnter( centity_t *cent )
cent->buildablePS = NULL;
cent->entityPS = NULL;
+
+ //make sure entities entering the PVS don't get stale animation data
+ memset( &cent->lerpFrame, 0, sizeof( lerpFrame_t ) );
}