summaryrefslogtreecommitdiff
path: root/src/cgame/cg_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r--src/cgame/cg_buildable.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c
index d5f6871e..708e8277 100644
--- a/src/cgame/cg_buildable.c
+++ b/src/cgame/cg_buildable.c
@@ -551,6 +551,10 @@ static void CG_RunBuildableLerpFrame( centity_t *cent )
// see if the animation sequence is switching
if( newAnimation != lf->animationNumber || !lf->animation )
{
+ if( cg_debugRandom.integer )
+ CG_Printf( "newAnimation: %d lf->animationNumber: %d lf->animation: %d\n",
+ newAnimation, lf->animationNumber, !!lf->animation );
+
CG_SetBuildableLerpFrameAnimation( buildable, lf, newAnimation );
if( !cg_buildables[ buildable ].sounds[ newAnimation ].looped &&