From 743e132f5d95782e57324bfefdd652d86f621a5d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 19 Nov 2003 01:54:33 +0000 Subject: * 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 --- src/cgame/cg_ents.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cgame/cg_ents.c') 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( ¢->lerpFrame, 0, sizeof( lerpFrame_t ) ); } -- cgit