]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make arc heat crosshair ring smooth
authorMario <mario@smbclan.net>
Tue, 27 Feb 2018 18:11:07 +0000 (04:11 +1000)
committerMario <mario@smbclan.net>
Tue, 27 Feb 2018 18:11:07 +0000 (04:11 +1000)
qcsrc/common/wepent.qc

index 3da8b8939a48ca1e649e611f5e8d036939c4104c..1b9abdbf0ecb4f1ae694cff46164dc417a5df38d 100644 (file)
@@ -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); }, \