From: Mario Date: Tue, 27 Feb 2018 18:11:07 +0000 (+1000) Subject: Make arc heat crosshair ring smooth X-Git-Tag: xonotic-v0.8.5~2274 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4256d4b4294ed64ef98ca6e31b20aad946f91c82;p=xonotic%2Fxonotic-data.pk3dir.git Make arc heat crosshair ring smooth --- diff --git a/qcsrc/common/wepent.qc b/qcsrc/common/wepent.qc index 3da8b8939..1b9abdbf0 100644 --- a/qcsrc/common/wepent.qc +++ b/qcsrc/common/wepent.qc @@ -51,8 +51,8 @@ MACRO_END { (viewmodels[this.m_wepent_slot]).minelayer_mines = ReadByte(); }) \ \ PROP(false, arc_heat_percent, WEPENT_SET_NORMAL, \ - { WriteByte(chan, this.arc_heat_percent * 16); }, \ - { (viewmodels[this.m_wepent_slot]).arc_heat_percent = ReadByte() / 16; }) \ + { WriteByte(chan, this.arc_heat_percent * 255); }, \ + { (viewmodels[this.m_wepent_slot]).arc_heat_percent = ReadByte() / 255; }) \ \ PROP(false, vortex_chargepool_ammo, WEPENT_SET_NORMAL, \ { WriteByte(chan, this.vortex_chargepool_ammo * 16); }, \