From bf653d6c684616019d4edff5a5da9c5d95bd068d Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 24 Oct 2013 16:27:14 +1100 Subject: [PATCH] Fix spiderbot crosshairs --- qcsrc/common/vehicles/unit/spiderbot.qc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/qcsrc/common/vehicles/unit/spiderbot.qc b/qcsrc/common/vehicles/unit/spiderbot.qc index f4c3068c63..86ca8aeb23 100644 --- a/qcsrc/common/vehicles/unit/spiderbot.qc +++ b/qcsrc/common/vehicles/unit/spiderbot.qc @@ -13,12 +13,6 @@ REGISTER_VEHICLE( ); #else -#define SBRM_FIRST 1 -#define SBRM_VOLLY 1 -#define SBRM_GUIDE 2 -#define SBRM_ARTILLERY 3 -#define SBRM_LAST 3 - #ifdef SVQC float autocvar_g_vehicle_spiderbot; @@ -73,6 +67,12 @@ float autocvar_g_vehicle_spiderbot_rocket_noise; float autocvar_g_vehicle_spiderbot_rocket_turnrate; float autocvar_g_vehicle_spiderbot_rocket_lifetime; +#define SBRM_FIRST 0 +#define SBRM_VOLLY 0 +#define SBRM_GUIDE 1 +#define SBRM_ARTILLERY 2 +#define SBRM_LAST 2 + vector autocvar_g_vehicle_spiderbot_bouncepain; void spiderbot_rocket_artillery() @@ -879,6 +879,12 @@ float v_spiderbot(float req) #define spider_mgun "gfx/vehicles/sbot_mguns.tga" string spider_xhair; // = "gfx/vehicles/axh-special1.tga"; +#define SBRM_FIRST 1 +#define SBRM_VOLLY 1 +#define SBRM_GUIDE 2 +#define SBRM_ARTILLERY 3 +#define SBRM_LAST 3 + float v_spiderbot(float req) { switch(req) -- 2.39.5