X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Farmor.qh;h=469288b77b367ca86eb8bc198145d93e25f6f98f;hb=4eab3f0253a063bdbd4e1ff64c4b2b08077c44c4;hp=be6c52af59389d37ade902bd65e1db1ff541f0d6;hpb=b4101f6e6d27c9820bceba20b3f71cfbbe83c557;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/armor.qh b/qcsrc/common/items/item/armor.qh index be6c52af5..469288b77 100644 --- a/qcsrc/common/items/item/armor.qh +++ b/qcsrc/common/items/item/armor.qh @@ -11,7 +11,7 @@ CLASS(Armor, Pickup) ENDCLASS(Armor) #ifdef SVQC - #include + #include #endif #ifdef GAMEQC @@ -42,7 +42,7 @@ REGISTER_ITEM(ArmorSmall, Armor) { this.m_name = _("Small armor"); this.m_icon = "armor"; #ifdef SVQC - this.m_itemid = IT_ARMOR_SHARD; + this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_short); this.m_respawntimejitter = GET(g_pickup_respawntimejitter_short); this.m_pickupanyway = GET(g_pickup_armorsmall_anyway); @@ -80,7 +80,7 @@ REGISTER_ITEM(ArmorMedium, Armor) { this.m_name = _("Medium armor"); this.m_icon = "armor"; #ifdef SVQC - this.m_itemid = IT_ARMOR; + this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_medium); this.m_respawntimejitter = GET(g_pickup_respawntimejitter_medium); this.m_pickupanyway = GET(g_pickup_armormedium_anyway); @@ -120,7 +120,7 @@ REGISTER_ITEM(ArmorBig, Armor) { this.m_color = '0 1 0'; this.m_waypoint = _("Big armor"); #ifdef SVQC - this.m_itemid = IT_ARMOR; + this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_long); this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long); this.m_pickupanyway = GET(g_pickup_armorbig_anyway); @@ -162,7 +162,7 @@ REGISTER_ITEM(ArmorMega, Armor) { this.m_waypointblink = 2; #ifdef SVQC this.m_maxs = '16 16 70'; - this.m_itemid = IT_ARMOR; + this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_long); this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long); this.m_pickupanyway = GET(g_pickup_armormega_anyway);