]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a note for later
authorMario <mario@smbclan.net>
Fri, 2 Mar 2018 12:34:49 +0000 (22:34 +1000)
committerMario <mario@smbclan.net>
Fri, 2 Mar 2018 12:34:49 +0000 (22:34 +1000)
qcsrc/common/monsters/sv_monsters.qc

index 9283ae2f9a2984a7d71f61bb303111f31d79d654..b62d44fb67d55acb436777f64e9ef130d6ac94a4 100644 (file)
@@ -99,7 +99,7 @@ bool Monster_ValidTarget(entity this, entity targ)
        }
 
        vector targ_origin = ((targ.absmin + targ.absmax) * 0.5);
-       traceline(this.origin + this.view_ofs, targ_origin, MOVE_NOMONSTERS, this);
+       traceline(this.origin + this.view_ofs, targ_origin, MOVE_NOMONSTERS, this); // TODO: maybe we can rely a bit on PVS data instead?
 
        if(trace_fraction < 1 && trace_ent != targ)
                return false; // solid