From: Mario Date: Fri, 16 Feb 2018 11:31:47 +0000 (+1000) Subject: Make vortex charge crosshair more accurate X-Git-Tag: xonotic-v0.8.5~2311 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4accd4c7437dd75cd75b6f9d2c575779932b2ec4;p=xonotic%2Fxonotic-data.pk3dir.git Make vortex charge crosshair more accurate --- diff --git a/qcsrc/common/wepent.qc b/qcsrc/common/wepent.qc index e8afba864..3da8b8939 100644 --- a/qcsrc/common/wepent.qc +++ b/qcsrc/common/wepent.qc @@ -23,8 +23,8 @@ MACRO_END { (viewmodels[this.m_wepent_slot]).alpha = (ReadByte() + -1) / 254; }) \ \ PROP(false, vortex_charge, WEPENT_SET_NORMAL, \ - { WriteByte(chan, this.vortex_charge * 16); }, \ - { (viewmodels[this.m_wepent_slot]).vortex_charge = ReadByte() / 16; }) \ + { WriteByte(chan, this.vortex_charge * 255); }, \ + { (viewmodels[this.m_wepent_slot]).vortex_charge = ReadByte() / 255; }) \ \ PROP(false, m_gunalign, WEPENT_SET_NORMAL, \ { WriteByte(chan, this.m_gunalign); }, \