From: Rudolf Polzer Date: Sun, 4 Jul 2010 16:51:32 +0000 (+0200) Subject: remove g_spawnpoints_autodrop as it breaks maps, and should not be needed any more... X-Git-Tag: xonotic-v0.1.0preview~491 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=a8b4db903c22888f4a3d8171a818cebb92c7414b remove g_spawnpoints_autodrop as it breaks maps, and should not be needed any more (was 0 by default for ages) --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 7ffc5138ad..307f58fa78 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -504,7 +504,6 @@ set g_laserguided_missile 0 "if set to 1 the rockets of the rocket launcher can set g_midair 0 "if set to 1 you can only apply damage to your opponent while he is airborne" set g_midair_shieldtime 0.3 "number of seconds you are still invincible since you lost contact to the ground" set g_spawnsound 1 "set to 0 if you don't want to hear the spawn sound when a player spawns" -set g_spawnpoints_autodrop 0 "if set to 1, automatically drop spawn point locations if they were placed too high" set g_spawnpoints_auto_move_out_of_solid 0 "if set to 1 you will see a warning if a spawn point was placed inside a solid" set g_forced_respawn 0 "if set to 1 and a player died, that player gets automatically respawned once seconds are over" set g_fullbrightplayers 0 "brightens up player models (note that the color, skin or model of the players does not change!)" diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index fa61ad8712..aeee9cecba 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -229,12 +229,6 @@ void relocate_spawnpoint() } } - if (cvar("g_spawnpoints_autodrop")) - { - setsize(self, PL_MIN, PL_MAX); - droptofloor(); - } - self.use = spawnpoint_use; self.team_saved = self.team; if (!self.cnt)