summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-08-30 02:47:46 +0000
committerTim Angus <tim@ngus.net>2003-08-30 02:47:46 +0000
commit36c4ba57f49f9c1aae686b9a8629b18c4f859715 (patch)
tree43230044d0c2483309a5214c12f5ca5c341d1247 /src/cgame
parent030cfa4632dd76fcb72a3b12552f79f11201f94b (diff)
* Oops, removed debug messages
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_buildable.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c
index 86353f12..c34561d1 100644
--- a/src/cgame/cg_buildable.c
+++ b/src/cgame/cg_buildable.c
@@ -371,9 +371,7 @@ static void CG_RunBuildableLerpFrame( centity_t *cent )
buildable_t buildable = cent->currentState.modelindex;
lerpFrame_t *lf = &cent->lerpFrame;
animation_t *anim;
- buildableAnimNumber_t newAnimation = cent->buildableAnim;
-
- newAnimation &= ~( ANIM_TOGGLEBIT|ANIM_FORCEBIT );
+ buildableAnimNumber_t newAnimation = cent->buildableAnim & ~( ANIM_TOGGLEBIT|ANIM_FORCEBIT );
// debugging tool to get no animations
if( cg_animSpeed.integer == 0 )
@@ -387,9 +385,6 @@ static void CG_RunBuildableLerpFrame( centity_t *cent )
{
CG_SetBuildableLerpFrameAnimation( buildable, lf, newAnimation );
- CG_Printf( "new anim/sound: %d %d\n", !cg_buildables[ buildable ].sounds[ newAnimation ].looped,
- cg_buildables[ buildable ].sounds[ newAnimation ].enabled );
-
if( !cg_buildables[ buildable ].sounds[ newAnimation ].looped &&
cg_buildables[ buildable ].sounds[ newAnimation ].enabled )
trap_S_StartSound( cent->lerpOrigin, cent->currentState.number, CHAN_AUTO,