]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow multiple traces through the same warpzone, let the recursive warpzone lightshow...
authorMario <mario@smbclan.net>
Mon, 2 Jan 2017 08:21:52 +0000 (18:21 +1000)
committerMario <mario@smbclan.net>
Mon, 2 Jan 2017 08:21:52 +0000 (18:21 +1000)
qcsrc/lib/warpzone/common.qc

index 5a3929e1e92d58ecd6520f0bbb05d68499e61f73..78d51cf0bc4fa4c6f050b6c137978eb130695d16 100644 (file)
@@ -298,13 +298,13 @@ void WarpZone_TraceBox_ThroughZone(vector org, vector mi, vector ma, vector end,
                        }
                        break;
                }
-               if(trace_ent == wz)
+               /*if(trace_ent == wz)
                {
                        // FIXME can this check be removed? Do we really need it?
                        LOG_TRACE("I transformed into the same zone again, wtf, aborting the trace");
                        trace_ent = NULL;
                        break;
-               }
+               }*/
                wz = trace_ent;
                if(!WarpZone_trace_firstzone)
                        WarpZone_trace_firstzone = wz;