From: terencehill Date: Thu, 31 Jan 2019 13:04:20 +0000 (+0100) Subject: Fix typo X-Git-Tag: xonotic-v0.8.5~1625 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e8b12854e0bfb0fe0b553c6eda9d4de1e5606232;p=xonotic%2Fxonotic-data.pk3dir.git Fix typo --- diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index e0d983b96..a641905c4 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -35,7 +35,7 @@ STATIC_INIT(RegisterEntCSProps_renumber) { FOREACH(EntCSProps, true, it.m_id = i #define ENTCS_PROP_CODED(id, ispublic, checkprop, setprop, decfactor, svsend, clreceive) \ bool id##_check(entity ent, entity player) { \ - return (floor(ent.(checkprop)) / decfactor != floor(player.(checkprop)) * decfactor); \ + return (floor(ent.(checkprop)) / decfactor != floor(player.(checkprop)) / decfactor); \ } \ _ENTCS_PROP(id, ispublic, checkprop, setprop, svsend, clreceive)