]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
be a bit more conservative regarding the warpzone fix
authorRudolf Polzer <divverent@alientrap.org>
Tue, 14 Dec 2010 18:46:36 +0000 (19:46 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 14 Dec 2010 18:46:36 +0000 (19:46 +0100)
qcsrc/warpzonelib/server.qc

index 153ca6141306714722eede441e598ed4da1a322e..f4141c8a3df01899ca3754c2bcb20c8a98f24cfe 100644 (file)
@@ -617,6 +617,8 @@ void WarpZone_StartFrame()
                {
                        if(e.solid != SOLID_NOT) // not spectating?
                                continue;
+                       if(e.movetype != MOVETYPE_NOCLIP && e.movetype != MOVETYPE_FLY) // not spectating? (this is to catch observers)
+                               continue;
                        self = WarpZone_Find(e.origin + e.mins, e.origin + e.maxs);
                        if(!self)
                                continue;