mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
knife throw active animation bug fixed
This commit is contained in:
parent
a1d8d109d5
commit
b4c2799a41
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.29 2002/06/01 04:20:09 niceass
|
||||
// knife throw active animation bug fixed
|
||||
//
|
||||
// Revision 1.28 2002/05/27 07:01:02 niceass
|
||||
// headless code
|
||||
//
|
||||
|
@ -1192,7 +1195,7 @@ static void CG_SetWeaponLerpFrame( clientInfo_t *ci, lerpFrame_t *lf, int newAni
|
|||
}
|
||||
|
||||
// Elder: selecting the right weapon animation
|
||||
if (newAnimation == WP_ANIM_ACTIVATE)
|
||||
if (newAnimation == WP_ANIM_ACTIVATE || newAnimation == WP_ANIM_THROWACTIVATE)
|
||||
anim = &cg_weapons[cg.weaponSelect].animations[ newAnimation ];
|
||||
else
|
||||
anim = &cg_weapons[cg.snap->ps.weapon].animations[ newAnimation ];
|
||||
|
|
Loading…
Reference in a new issue