]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
allow traceline to take unusual values for nomonsters parameter again (like original...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Jul 2003 07:48:57 +0000 (07:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 6 Jul 2003 07:48:57 +0000 (07:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3168 d7cf8633-e32d-0410-b094-e92efae38249

pr_cmds.c

index 425582088154a0633f0cf7a0f23f1bfc2bceb438..8acdec77240eba646f95210407c7c3b2cbbb56e1 100644 (file)
--- 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;