X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon.qh;h=0d0f67bef30c7011200ec45eedf5f63f1f19202d;hb=6147159b612c6950ca2177b732028d1116201220;hp=6ccfcae57c18ef92a1b76afab2ffb0d3e8131971;hpb=36ba1021949ebd475e0561237a17ecf9fb93ced8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index 6ccfcae57..0d0f67bef 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -72,7 +72,7 @@ CLASS(Weapon, Object) /** M: model MDL_id_ITEM */ ATTRIB(Weapon, m_model, entity); /** M: crosshair : per-weapon crosshair: "CrosshairImage Size" */ - ATTRIB(Weapon, w_crosshair, string, "gfx/crosshair1"); + ATTRIB(Weapon, w_crosshair, string, "gfx/crosshairmoustache"); /** A: crosshair : per-weapon crosshair size (argument two of "crosshair" field) */ ATTRIB(Weapon, w_crosshair_size, float, 1); /** A: reticle : per-weapon zoom reticle */ @@ -194,6 +194,7 @@ const int WEP_FLAG_SUPERWEAPON = 0x100; // powerup timer const int WEP_FLAG_MUTATORBLOCKED = 0x200; // hides from impulse 99 etc. (mutators are allowed to clear this flag) const int WEP_TYPE_MELEE_PRI = 0x400; // primary attack is melee swing (for animation) const int WEP_TYPE_MELEE_SEC = 0x800; // secondary attack is melee swing (for animation) +const int WEP_FLAG_DUALWIELD = 0x1000; // weapon can be dual wielded // variables: string weaponorder_byid;