#include "spawnpoints.qh"
-#include <server/mutators/_mod.qh>
-#include "world.qh"
-#include "miscfunctions.qh"
-#include "race.qh"
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include "../common/constants.qh"
-#include <common/net_linked.qh>
-#include "../common/teams.qh"
+#include <common/constants.qh>
#include <common/gamemodes/_mod.qh>
-#include "../common/mapobjects/subs.qh"
-#include "../common/mapobjects/target/spawnpoint.qh"
+#include <common/mapobjects/subs.qh>
+#include <common/mapobjects/target/spawnpoint.qh>
#include <common/mapobjects/triggers.qh>
-#include "../common/util.qh"
-#include "../lib/warpzone/common.qh"
-#include "../lib/warpzone/util_server.qh"
-#include <server/utils.qh>
+#include <common/net_linked.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <lib/warpzone/common.qh>
+#include <lib/warpzone/util_server.qh>
#include <server/command/vote.qh>
+#include <server/intermission.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
+#include <server/utils.qh>
+#include <server/world.qh>
bool SpawnPoint_Send(entity this, entity to, int sf)
{
{
WriteByte(MSG_ENTITY, etof(this.owner));
WriteVector(MSG_ENTITY, this.owner.origin);
+ WriteByte(MSG_ENTITY, autocvar_g_spawn_alloweffects);
send = true;
}
else if((to == this.owner) || (IS_SPEC(to) && (to.enemy == this.owner)) )
spawnfunc(info_player_deathmatch)
{
- this.classname = "info_player_deathmatch";
IL_PUSH(g_spawnpoints, this);
relocate_spawnpoint(this);
}