X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fall.qc;h=3f0d6a097820b0b9e9ab81fcdeb46b559688503a;hb=51c7e0a875a0a15201f57787071a21d327d1bb26;hp=9f78f6454852d09e390a7e1b44839e3d48b167df;hpb=8d10ea819c27736320d03e75134af341f8127199;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/all.qc b/qcsrc/common/weapons/all.qc index 9f78f6454..3f0d6a097 100644 --- a/qcsrc/common/weapons/all.qc +++ b/qcsrc/common/weapons/all.qc @@ -291,12 +291,12 @@ string GetAmmoPicture(.int ammotype) { switch (ammotype) { - case ammo_shells: return ITEM_Shells.m_ammoPic; - case ammo_nails: return ITEM_Bullets.m_ammoPic; - case ammo_rockets: return ITEM_Rockets.m_ammoPic; - case ammo_cells: return ITEM_Cells.m_ammoPic; - case ammo_plasma: return ITEM_Plasma.m_ammoPic; - case ammo_fuel: return ITEM_JetpackFuel.m_ammoPic; + case ammo_shells: return ITEM_Shells.m_icon; + case ammo_nails: return ITEM_Bullets.m_icon; + case ammo_rockets: return ITEM_Rockets.m_icon; + case ammo_cells: return ITEM_Cells.m_icon; + case ammo_plasma: return ITEM_Plasma.m_icon; + case ammo_fuel: return ITEM_JetpackFuel.m_icon; default: return ""; // wtf, no ammo type? } }