summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 2fc0d7f7..02427daa 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -893,7 +893,7 @@ static int CG_MapTorsoToWeaponFrame( clientInfo_t *ci, int frame )
// stand attack 2
if( frame >= ci->animations[ TORSO_ATTACK2 ].firstFrame &&
frame < ci->animations[ TORSO_ATTACK2 ].firstFrame + 6 )
- return 1 + frame - ci->animations[ TORSO_ATTACK ].firstFrame;
+ return 1 + frame - ci->animations[ TORSO_ATTACK2 ].firstFrame;
return 0;
}