]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reorder in hud.qc too, where it should be safe and alright to
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 28 Oct 2010 11:10:35 +0000 (14:10 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 28 Oct 2010 11:10:35 +0000 (14:10 +0300)
qcsrc/client/hud.qc

index 8ddcd25eb516bea0ed4973256920b681f8175e22..62abfce1538744f73a410d2fd901d1192b4d8763 100644 (file)
@@ -1470,7 +1470,6 @@ float GetAmmoTypeForWep(float i)
        {
                case WEP_SHOTGUN: return 0;
                case WEP_UZI: return 1;
-               case WEP_CAMPINGRIFLE: return 1;
                case WEP_GRENADE_LAUNCHER: return 2;
                case WEP_MINE_LAYER: return 2;
                case WEP_ELECTRO: return 3;
@@ -1478,6 +1477,7 @@ float GetAmmoTypeForWep(float i)
                case WEP_HLAC: return 3;
                case WEP_MINSTANEX: return 3;
                case WEP_NEX: return 3;
+               case WEP_CAMPINGRIFLE: return 1;
                case WEP_HAGAR: return 2;
                case WEP_ROCKET_LAUNCHER: return 2;
                case WEP_SEEKER: return 2;