]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/portals.qc
Turn the global hitbox/view offset cvars into stats (sv_ cvars shouldn't be used...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / portals.qc
index e6e606f5f909a7d680c2a421a3cf9f5dadfc542b..9ce48d8e37d315b5b1d870909aa91f1d7564c237 100644 (file)
@@ -315,8 +315,8 @@ void Portal_Touch()
                return;
 
        /*
-       if(other.mins_x < PL_MIN_x || other.mins_y < PL_MIN_y || other.mins_z < PL_MIN_z
-       || other.maxs_x > PL_MAX_x || other.maxs_y > PL_MAX_y || other.maxs_z > PL_MAX_z)
+       if(other.mins_x < PL_MIN.x || other.mins_y < PL_MIN.y || other.mins_z < PL_MIN.z
+       || other.maxs_x > PL_MAX.x || other.maxs_y > PL_MAX.y || other.maxs_z > PL_MAX.z)
        {
                // can't teleport this
                return;