Rename a variable
authorterencehill <piuntn@gmail.com>
Sat, 9 Mar 2019 18:44:03 +0000 (19:44 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 9 Mar 2019 18:44:03 +0000 (19:44 +0100)
qcsrc/common/ent_cs.qc

index 23790b5..070197d 100644 (file)
@@ -195,8 +195,8 @@ ENTCS_PROP(FRAGS, true, frags, ENTCS_SET_NORMAL,
        void entcs_think(entity this)
        {
                this.nextthink = time + 0.033333333333;  // TODO: increase this to like 0.15 once the client can do smoothing
-               entity o = this.owner;
-               FOREACH(EntCSProps, it.m_check(this, o),
+               entity player = this.owner;
+               FOREACH(EntCSProps, it.m_check(this, player),
                {
                        this.SendFlags |= BIT(it.m_id);
                });