]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qc
Use STAT(FROZEN, e) instead of e.frozen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / spawn_near_teammate / spawn_near_teammate.qc
index 80bf57a3ee4e18e4919a6452f0c8df199aaff184..51c598f17f6846c803b5f84ff3687e440fbd9785 100644 (file)
@@ -67,7 +67,7 @@ MUTATOR_HOOKFUNCTION(spawn_near_teammate, PlayerSpawn)
                        if(it.msnt_timer < time)
                        if(SAME_TEAM(self, it))
                        if(time > it.spawnshieldtime) // spawn shielding
-                       if(it.frozen == 0)
+                       if(STAT(FROZEN, it) == 0)
                        if(it != self)
                        {
                                tracebox(it.origin, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - '0 0 100', MOVE_WORLDONLY, it);