From 10a3d2138d31b27eba1e779190f5b578404a01a6 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 6 Jul 2003 07:48:57 +0000 Subject: [PATCH] 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 --- pr_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2