]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 e0d983b963e1bb7def1c228398325af687541e20..a641905c4ef06018bcf9391ffde994fd90a3b3e6 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)