diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_weapons.c | 2 | ||||
-rw-r--r-- | src/ui/ui_main.c | 2 |
2 files changed, 2 insertions, 2 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; } diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 4eca5373..4389074c 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -4216,7 +4216,7 @@ static void UI_RunMenuScript(char **args) { char command[ 32 ]; // load the file - len = trap_FS_FOpenFile( "ptrc.txt", &f, FS_READ ); + len = trap_FS_FOpenFile( "ptrc.cfg", &f, FS_READ ); if( len > 0 && ( len < sizeof( text ) - 1 ) ) { |