Valve: WEAPON_EGON gets something something idle animations.

This commit is contained in:
Marco Cawthorne 2020-03-24 11:19:24 +01:00
parent d8af659dd8
commit bc5fcf6913

View file

@ -120,7 +120,7 @@ void w_egon_primary(void)
}
void w_egon_secondary(void)
{
w_egon_primary();
}
void w_egon_reload(void)
{
@ -137,7 +137,14 @@ void w_egon_release(void)
if (pl.w_idle_next > 0.0f) {
return;
}
Weapons_ViewAnimation(EGON_IDLE1);
int r = (float)input_sequence % 3;
if (r == 1) {
Weapons_ViewAnimation(EGON_FIDGET1);
pl.w_idle_next = 2.666667f;
} else {
Weapons_ViewAnimation(EGON_IDLE1);
pl.w_idle_next = 2.0f;
}
}
#endif
}