summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-09-07 15:11:46 +0000
committerTim Angus <tim@ngus.net>2001-09-07 15:11:46 +0000
commit03091e5b87d1d0aa5f153ccda8a0316733cf01f4 (patch)
tree61cd0d896d888bf5718f12653b82aefb0f295de2 /src/cgame/cg_event.c
parentfa0922d0e311a68daf24aa1ae48dd35c29d894bf (diff)
Destroy anims for alien stuff
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index b5034fd3..289205df 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -908,7 +908,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) {
//TA: trigger an anim on a buildable item
case EV_BUILD_ANIM:
DEBUGNAME("EV_BUILD_ANIM");
- if( cent->buildableAnim == es->torsoAnim )
+ if( cent->buildableAnim == es->torsoAnim || es->eventParm & ANIM_TOGGLEBIT )
cent->buildableAnim = es->eventParm;
break;