Fixed bug with FG42 detection

This commit is contained in:
Lukasz Wlasinksi 2004-07-19 23:57:05 +00:00
parent 7b14a4bb4e
commit 011d9ecc33

View File

@ -91,8 +91,8 @@ int get_weaponid(CPlayer* pPlayer){
case 23:
if ( pPlayer->pEdict->v.weaponmodel )
pPlayer->wpnModel = pPlayer->pEdict->v.weaponmodel;
if ( !( pPlayer->wpnModel&(1<<2) ) )
weapon = 32;
if ( !( pPlayer->wpnModel&(1<<3) ) )
weapon = 32;
break;
case 24: if ( pPlayer->pEdict->v.button&IN_ATTACK2 ) weapon = 41; break;
case 25: