diff options
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r-- | src/cgame/cg_buildable.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c index 0bba94ec..9a63b477 100644 --- a/src/cgame/cg_buildable.c +++ b/src/cgame/cg_buildable.c @@ -32,7 +32,7 @@ animation_t buildAnimations[ BA_NUM_BUILDABLES ][ MAX_BUILDABLE_ANIMATIONS ]; CG_ParseBuildableAnimationFile Read a configuration file containing animation coutns and rates -models/players/visor/animation.cfg, etc +models/buildables/hivemind/animation.cfg, etc ====================== */ static qboolean CG_ParseBuildableAnimationFile( const char *filename, buildable_t buildable ) @@ -347,9 +347,13 @@ void CG_Buildable( centity_t *cent ) { ent2.nonNormalizedAxes = qfalse; + CG_BuildableAnimation( cent, &ent2.oldframe, &ent2.frame, &ent2.backlerp ); + trap_R_AddRefEntityToScene( &ent2 ); } + CG_BuildableAnimation( cent, &ent.oldframe, &ent.frame, &ent.backlerp ); + // add to refresh list trap_R_AddRefEntityToScene(&ent); } |