Remove magical number
This commit is contained in:
parent
b49c71bd84
commit
43dcfebc77
@ -930,7 +930,7 @@ int GetWeaponAccuracyFlags( int weaponid )
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
if( weaponid <= 30 )
|
||||
if( weaponid <= WEAPON_P90 )
|
||||
{
|
||||
switch( weaponid )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user