From e22518a6976983101ecd0fc2453e851385e03a56 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Wed, 1 Jan 2014 08:12:28 -0500 Subject: [PATCH] little reorganization --- qcsrc/common/weapons/weapons.qh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/weapons/weapons.qh b/qcsrc/common/weapons/weapons.qh index d2d84bfa3..de9595c44 100644 --- a/qcsrc/common/weapons/weapons.qh +++ b/qcsrc/common/weapons/weapons.qh @@ -2,6 +2,8 @@ #include "calculations.qh" #endif +const float MAX_SHOT_DISTANCE = 32768; + const float BOT_PICKUP_RATING_LOW = 2500; const float BOT_PICKUP_RATING_MID = 5000; const float BOT_PICKUP_RATING_HIGH = 10000; @@ -17,8 +19,6 @@ const float WEP_FLAG_RELOADABLE = 0x80; // can has reload const float WEP_FLAG_SUPERWEAPON = 0x100; // powerup timer const float WEP_FLAG_MUTATORBLOCKED = 0x200; // hides from impulse 99 etc. (mutators are allowed to clear this flag) -const float MAX_SHOT_DISTANCE = 32768; - // weapon requests // WEAPONTODO: give these better descriptions const float WR_SETUP = 1; // (SERVER) setup weapon data const float WR_THINK = 2; // (SERVER) logic to run every frame @@ -103,7 +103,7 @@ float GetAmmoStat(.float ammotype); #define WEP_ADD_CVAR_BOTH(wepname,name) \ WEP_ADD_CVAR_PRI(wepname, name) \ WEP_ADD_CVAR_SEC(wepname, name) - + #define WEP_ADD_CVAR(wepid,wepname,mode,name) WEP_ADD_CVAR_##mode(wepname, name) // create properties for weapon settings -- 2.39.2