}
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;
{
if (is_pure(e)) return true;
string s = e.classname;
- switch (s)
- {
- // case "net_linked": // actually some real entities are linked without classname, fail
- case "":
- return true;
- }
+
+ //if (s == "net_linked") return true; // actually some real entities are linked without classname, fail
+ if (s == "") return true;
if (startsWith(s, "target_")) return true;