From 4accd4c7437dd75cd75b6f9d2c575779932b2ec4 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 16 Feb 2018 21:31:47 +1000 Subject: [PATCH] Make vortex charge crosshair more accurate --- qcsrc/common/wepent.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }, \ -- 2.39.2