// we abuse this method, rather than using normal .touch, because touch isn't reliable with multiple clients inside the same trigger, and can't "untouch" entities
// set myself as current viewloc where possible
// we abuse this method, rather than using normal .touch, because touch isn't reliable with multiple clients inside the same trigger, and can't "untouch" entities
// set myself as current viewloc where possible
+#if 1
+ FOREACH_CLIENT(it.viewloc == this,
+ {
+ it.viewloc = NULL;
+ });
+#else
+ entity e;
for(e = NULL; (e = findentity(e, viewloc, this)); )
e.viewloc = NULL;
for(e = NULL; (e = findentity(e, viewloc, this)); )