diff options
author | Tim Angus <tim@ngus.net> | 2001-09-07 02:38:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-09-07 02:38:39 +0000 |
commit | fa0922d0e311a68daf24aa1ae48dd35c29d894bf (patch) | |
tree | 53fd826acd5a6e8917294ab8a6eb16d02118b879 /src | |
parent | 05e7ae0a64cb37d8a660de3234f65339ef01d4ba (diff) |
Only trigger buildable anims if idling
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index d9a1ae4c..b5034fd3 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -908,7 +908,8 @@ 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"); - cent->buildableAnim = es->eventParm; + if( cent->buildableAnim == es->torsoAnim ) + cent->buildableAnim = es->eventParm; break; case EV_GRENADE_BOUNCE: |