X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_world.qc;h=0e550db1e46979abd1ac7cbb137beae0c0458f0e;hp=40d39a4cd67ae2d9ee3939167d0d85c08ed059fb;hb=a8cc9eb71b0d0e44e9a968a9cf5554f6226cc838;hpb=fb9267ffab37eae0bcbc4ac42a8a45a1ad864c0b diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 40d39a4cd6..0e550db1e4 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -534,8 +534,8 @@ void RandomSeed_Spawn() WITH(entity, self, randomseed, randomseed.think()); // sets random seed and nextthink } -void spawnfunc___init_dedicated_server(void) -{SELFPARAM(); +spawnfunc(__init_dedicated_server) +{ // handler for _init/_init map (only for dedicated server initialization) world_initialized = -1; // don't complain @@ -571,8 +571,8 @@ void ClientInit_Spawn(); void WeaponStats_Init(); void WeaponStats_Shutdown(); void Physics_AddStats(); -void spawnfunc_worldspawn (void) -{SELFPARAM(); +spawnfunc(worldspawn) +{ float fd, l, j, n; string s; @@ -912,8 +912,8 @@ void spawnfunc_worldspawn (void) world_initialized = 1; } -void spawnfunc_light (void) -{SELFPARAM(); +spawnfunc(light) +{ //makestatic (self); // Who the f___ did that? remove(self); }