Permalink
Browse files

Force idle animation for powerup/down animations

This makes the repeater not fall over.
  • Loading branch information...
DolceTriade committed Jan 3, 2016
1 parent 97429a9 commit 157eee91f71f1b3bc0244701884290d0b8345f3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cgame/cg_buildable.cpp
@@ -138,7 +138,7 @@ static const struct { shorthand_t shorthand; int flags; } anims[ BA_NUM_BUILDABL
{{XX,0},{I1,1},{I2,1},{PD,0},{I1,0},{C1,0},{I1,0},{A1,0},{C2,0},{XX,0},{XX,0},{XX,0},{XX,0},{DE,0},{DU,0},{DD,0},{XX,0}}, // H_MEDISTAT
{{XX,0},{I1,0},{XX,0},{I1,0},{I1,0},{I1,0},{I1,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{I1,0},{I1,0},{I1,0},{XX,0}}, // H_DRILL
{{XX,0},{I1,1},{XX,0},{XX,0},{XX,0},{C1,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{DE,0},{XX,0},{DD,0},{XX,0}}, // H_REACTOR
{{XX,0},{I1,1},{XX,0},{XX,0},{XX,0},{C1,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{DE,0},{XX,0},{DD,0},{XX,0}}, // H_REPEATER
{{XX,0},{I1,1},{XX,0},{I1,0},{I1,0},{C1,0},{I1,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{XX,0},{DE,0},{XX,0},{DD,0},{XX,0}}, // H_REPEATER
};

static const char *GetAnimationName( buildable_t buildable, buildableAnimNumber_t animNumber )

0 comments on commit 157eee9

Please sign in to comment.