X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Frifle.qh;fp=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Frifle.qh;h=ae9a3b9aa5fa2b846800d280793f515b36e06baf;hb=48ef3f936d6af04dbb3cd1c018e8d937f99ec171;hp=560354c0529b40b5e19e9a4ff389a01946dae6c6;hpb=846127001326ab0cb98b2480a2c293f3981039c6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon/rifle.qh b/qcsrc/common/weapons/weapon/rifle.qh index 560354c05..ae9a3b9aa 100644 --- a/qcsrc/common/weapons/weapon/rifle.qh +++ b/qcsrc/common/weapons/weapon/rifle.qh @@ -2,7 +2,7 @@ CLASS(Rifle, Weapon) /* spawnfunc */ ATTRIB(Rifle, m_canonical_spawnfunc, string, "weapon_rifle"); -/* ammotype */ ATTRIB(Rifle, ammo_type, int, RESOURCE_BULLETS); +/* ammotype */ ATTRIB(Rifle, ammo_type, int, RES_BULLETS); /* impulse */ ATTRIB(Rifle, impulse, int, 7); /* flags */ ATTRIB(Rifle, spawnflags, int, WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_PENETRATEWALLS); /* rating */ ATTRIB(Rifle, bot_pickupbasevalue, float, 7000);