]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Exclude mortar from dual wielding (bouncing grenades don't collide well)
authorMario <mario@smbclan.net>
Sat, 30 Dec 2017 01:59:03 +0000 (11:59 +1000)
committerMario <mario@smbclan.net>
Sat, 30 Dec 2017 01:59:03 +0000 (11:59 +1000)
qcsrc/common/weapons/weapon/mortar.qh

index affec0dbcae952696866a9c6e08c84d15b7ba454..2161d468bf6df5f18c497aee3c2ef484d7c01665 100644 (file)
@@ -4,7 +4,7 @@ CLASS(Mortar, Weapon)
 /* spawnfunc */ ATTRIB(Mortar, m_canonical_spawnfunc, string, "weapon_mortar");
 /* ammotype  */ ATTRIB(Mortar, ammo_type, int, RESOURCE_ROCKETS);
 /* impulse   */ ATTRIB(Mortar, impulse, int, 4);
-/* flags     */ ATTRIB(Mortar, spawnflags, int, WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH);
+/* flags     */ ATTRIB(Mortar, spawnflags, int, WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH | WEP_FLAG_NODUAL);
 /* rating    */ ATTRIB(Mortar, bot_pickupbasevalue, float, 7000);
 /* color     */ ATTRIB(Mortar, wpcolor, vector, '1 0 0');
 /* modelname */ ATTRIB(Mortar, mdl, string, "gl");