From: Lyberta Date: Mon, 11 Jun 2018 00:29:24 +0000 (+0300) Subject: Use icon names from default HUD theme for OK weapons. X-Git-Tag: xonotic-v0.8.5~2079^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F563%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Use icon names from default HUD theme for OK weapons. --- diff --git a/qcsrc/common/mutators/mutator/overkill/okmachinegun.qh b/qcsrc/common/mutators/mutator/overkill/okmachinegun.qh index 9279c0c65..997b49de9 100644 --- a/qcsrc/common/mutators/mutator/overkill/okmachinegun.qh +++ b/qcsrc/common/mutators/mutator/overkill/okmachinegun.qh @@ -13,7 +13,7 @@ CLASS(OverkillMachineGun, Weapon) #endif /* crosshair */ ATTRIB(OverkillMachineGun, w_crosshair, string, "gfx/crosshairuzi"); /* crosshair */ ATTRIB(OverkillMachineGun, w_crosshair_size, float, 0.6); -/* wepimg */ ATTRIB(OverkillMachineGun, model2, string, "weaponuzi"); +/* wepimg */ ATTRIB(OverkillMachineGun, model2, string, "ok_weapon_smg"); /* refname */ ATTRIB(OverkillMachineGun, netname, string, "okmachinegun"); /* wepname */ ATTRIB(OverkillMachineGun, m_name, string, _("Overkill MachineGun")); diff --git a/qcsrc/common/mutators/mutator/overkill/oknex.qh b/qcsrc/common/mutators/mutator/overkill/oknex.qh index 617ce9dc5..f38588e39 100644 --- a/qcsrc/common/mutators/mutator/overkill/oknex.qh +++ b/qcsrc/common/mutators/mutator/overkill/oknex.qh @@ -14,7 +14,7 @@ CLASS(OverkillNex, Weapon) /* crosshair */ ATTRIB(OverkillNex, w_crosshair, string, "gfx/crosshairnex"); /* crosshair */ ATTRIB(OverkillNex, w_crosshair_size, float, 0.65); /* reticle */ ATTRIB(OverkillNex, w_reticle, string, "gfx/reticle_nex"); -/* wepimg */ ATTRIB(OverkillNex, model2, string, "weaponnex"); +/* wepimg */ ATTRIB(OverkillNex, model2, string, "ok_weapon_rail"); /* refname */ ATTRIB(OverkillNex, netname, string, "oknex"); /* wepname */ ATTRIB(OverkillNex, m_name, string, _("Overkill Nex")); diff --git a/qcsrc/common/mutators/mutator/overkill/okshotgun.qh b/qcsrc/common/mutators/mutator/overkill/okshotgun.qh index dc6b44ee2..a383c9d7a 100644 --- a/qcsrc/common/mutators/mutator/overkill/okshotgun.qh +++ b/qcsrc/common/mutators/mutator/overkill/okshotgun.qh @@ -13,7 +13,7 @@ CLASS(OverkillShotgun, Weapon) #endif /* crosshair */ ATTRIB(OverkillShotgun, w_crosshair, string, "gfx/crosshairshotgun"); /* crosshair */ ATTRIB(OverkillShotgun, w_crosshair_size, float, 0.65); -/* wepimg */ ATTRIB(OverkillShotgun, model2, string, "weaponshotgun"); +/* wepimg */ ATTRIB(OverkillShotgun, model2, string, "ok_weapon_shotgun"); /* refname */ ATTRIB(OverkillShotgun, netname, string, "okshotgun"); /* wepname */ ATTRIB(OverkillShotgun, m_name, string, _("Overkill Shotgun"));