From 47ad5965f5fc5c0b5190f2d4bd4ec704e337f61c Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 1 Dec 2004 22:24:11 +0000 Subject: * Bugfix to PTRC system that prevented it working with sv_pure on * Bugfix to first person animation on WP_BLASTER --- src/cgame/cg_weapons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame') 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; } -- cgit