]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Exclude rifle from dual wielding
authorMario <mario@smbclan.net>
Tue, 26 Dec 2017 00:18:29 +0000 (10:18 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Dec 2017 00:18:29 +0000 (10:18 +1000)
qcsrc/common/weapons/weapon/rifle.qh

index 560354c0529b40b5e19e9a4ff389a01946dae6c6..87bc4d7ec1d856424cde3776886176591166ef57 100644 (file)
@@ -4,7 +4,7 @@ CLASS(Rifle, Weapon)
 /* spawnfunc */ ATTRIB(Rifle, m_canonical_spawnfunc, string, "weapon_rifle");
 /* ammotype  */ ATTRIB(Rifle, ammo_type, int, RESOURCE_BULLETS);
 /* impulse   */ ATTRIB(Rifle, impulse, int, 7);
-/* flags     */ ATTRIB(Rifle, spawnflags, int, WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_PENETRATEWALLS);
+/* flags     */ ATTRIB(Rifle, spawnflags, int, WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_PENETRATEWALLS | WEP_FLAG_NODUAL);
 /* rating    */ ATTRIB(Rifle, bot_pickupbasevalue, float, 7000);
 /* color     */ ATTRIB(Rifle, wpcolor, vector, '0.5 1 0');
 /* modelname */ ATTRIB(Rifle, mdl, string, "campingrifle");