From: havoc Date: Sun, 6 Jul 2003 07:48:57 +0000 (+0000) Subject: allow traceline to take unusual values for nomonsters parameter again (like original... X-Git-Tag: xonotic-v0.1.0preview~6564 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=10a3d2138d31b27eba1e779190f5b578404a01a6;p=xonotic%2Fdarkplaces.git allow traceline to take unusual values for nomonsters parameter again (like original quake traceline) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3168 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/pr_cmds.c b/pr_cmds.c index 42558208..8acdec77 100644 --- a/pr_cmds.c +++ b/pr_cmds.c @@ -714,7 +714,7 @@ void PF_traceline (void) nomonsters = G_FLOAT(OFS_PARM2); ent = G_EDICT(OFS_PARM3); - trace = SV_Move (v1, vec3_origin, vec3_origin, v2, nomonsters ? MOVE_NOMONSTERS : MOVE_NORMAL, ent); + trace = SV_Move (v1, vec3_origin, vec3_origin, v2, nomonsters, ent); pr_global_struct->trace_allsolid = trace.allsolid; pr_global_struct->trace_startsolid = trace.startsolid;