From 43dcfebc775392b5ea6ba955d53c70281a7049f7 Mon Sep 17 00:00:00 2001 From: a1batross Date: Wed, 9 Dec 2015 00:50:03 +0300 Subject: [PATCH] Remove magical number --- cl_dll/hl/hl_weapons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_dll/hl/hl_weapons.cpp b/cl_dll/hl/hl_weapons.cpp index 32eb4c6..260b31a 100644 --- a/cl_dll/hl/hl_weapons.cpp +++ b/cl_dll/hl/hl_weapons.cpp @@ -930,7 +930,7 @@ int GetWeaponAccuracyFlags( int weaponid ) { int result = 0; - if( weaponid <= 30 ) + if( weaponid <= WEAPON_P90 ) { switch( weaponid ) {