mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed bug with FG42 detection
This commit is contained in:
parent
7b14a4bb4e
commit
011d9ecc33
@ -91,8 +91,8 @@ int get_weaponid(CPlayer* pPlayer){
|
|||||||
case 23:
|
case 23:
|
||||||
if ( pPlayer->pEdict->v.weaponmodel )
|
if ( pPlayer->pEdict->v.weaponmodel )
|
||||||
pPlayer->wpnModel = pPlayer->pEdict->v.weaponmodel;
|
pPlayer->wpnModel = pPlayer->pEdict->v.weaponmodel;
|
||||||
if ( !( pPlayer->wpnModel&(1<<2) ) )
|
if ( !( pPlayer->wpnModel&(1<<3) ) )
|
||||||
weapon = 32;
|
weapon = 32;
|
||||||
break;
|
break;
|
||||||
case 24: if ( pPlayer->pEdict->v.button&IN_ATTACK2 ) weapon = 41; break;
|
case 24: if ( pPlayer->pEdict->v.button&IN_ATTACK2 ) weapon = 41; break;
|
||||||
case 25:
|
case 25:
|
||||||
|
Loading…
Reference in New Issue
Block a user