From e8b12854e0bfb0fe0b553c6eda9d4de1e5606232 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 31 Jan 2019 14:04:20 +0100 Subject: [PATCH] Fix typo --- qcsrc/common/ent_cs.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2