]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix spiderbot crosshairs
authorMario <mario.mario@y7mail.com>
Thu, 24 Oct 2013 05:27:14 +0000 (16:27 +1100)
committerMario <mario.mario@y7mail.com>
Thu, 24 Oct 2013 05:27:14 +0000 (16:27 +1100)
qcsrc/common/vehicles/unit/spiderbot.qc

index f4c3068c6331b0057bd832bdfa6bd15380de0824..86ca8aeb2325fdbf6d50d0588db8e0bd9432a17b 100644 (file)
@@ -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)