Fix typo
authorterencehill <piuntn@gmail.com>
Thu, 31 Jan 2019 13:04:20 +0000 (14:04 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 31 Jan 2019 13:04:20 +0000 (14:04 +0100)
qcsrc/common/ent_cs.qc

index e0d983b..a641905 100644 (file)
@@ -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)