]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix arc appearing in most weapons arena instead of machinegun
authorMario <mario@smbclan.net>
Thu, 4 May 2017 10:38:01 +0000 (20:38 +1000)
committerMario <mario@smbclan.net>
Thu, 4 May 2017 10:38:43 +0000 (20:38 +1000)
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/machinegun.qc

index 1f6c3d40a45a154643f45ddde11a2c8228e178da..ed5c966f1b17609b5817dcc3a01455e3a63ae996 100644 (file)
@@ -3,7 +3,7 @@
 CLASS(Arc, Weapon)
 /* ammotype  */ ATTRIB(Arc, ammo_field, .int, ammo_cells);
 /* impulse   */ ATTRIB(Arc, impulse, int, 3);
-/* flags     */ ATTRIB(Arc, spawnflags, int, WEP_FLAG_NORMAL);
+/* flags     */ ATTRIB(Arc, spawnflags, int, WEP_TYPE_HITSCAN);
 /* rating    */ ATTRIB(Arc, bot_pickupbasevalue, float, 8000);
 /* color     */ ATTRIB(Arc, wpcolor, vector, '1 1 1');
 /* modelname */ ATTRIB(Arc, mdl, string, "arc");
index 0d986e77352876254623d22ec3545025184d5446..163b81ca117398056acefca567c42d3b636e7611 100644 (file)
@@ -3,7 +3,7 @@
 CLASS(MachineGun, Weapon)
 /* ammotype  */ ATTRIB(MachineGun, ammo_field, .int, ammo_nails);
 /* impulse   */ ATTRIB(MachineGun, impulse, int, 3);
-/* flags     */ ATTRIB(MachineGun, spawnflags, int, WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN);
+/* flags     */ ATTRIB(MachineGun, spawnflags, int, WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN);
 /* rating    */ ATTRIB(MachineGun, bot_pickupbasevalue, float, 7000);
 /* color     */ ATTRIB(MachineGun, wpcolor, vector, '1 1 0');
 /* modelname */ ATTRIB(MachineGun, mdl, string, "uzi");