]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a virtually useless comment as an excuse to push to this branch again
authorMario <zacjardine@y7mail.com>
Wed, 5 Aug 2015 12:09:16 +0000 (22:09 +1000)
committerMario <zacjardine@y7mail.com>
Wed, 5 Aug 2015 12:09:16 +0000 (22:09 +1000)
qcsrc/common/triggers/trigger/viewloc.qc

index 008dc8e610503e6acf64e259123f2a66c635c68c..b36b5eadb2f8f39c27f0f3aa33e9d1f93816d33b 100644 (file)
@@ -12,6 +12,8 @@ void viewloc_think()
 {
        entity e;
 
+       // 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
        for(e = world; (e = findentity(e, viewloc, self)); )
                e.viewloc = world;