From: Mario Date: Thu, 24 Oct 2013 05:27:14 +0000 (+1100) Subject: Fix spiderbot crosshairs X-Git-Tag: xonotic-v0.8.2~2059^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bf653d6c684616019d4edff5a5da9c5d95bd068d;p=xonotic%2Fxonotic-data.pk3dir.git Fix spiderbot crosshairs --- 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)