X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sv_main.c;h=2e45d00f0931382a9e373c1509587c43aaf3a375;hp=2efbb8895127c36094a638d4225719bec70375cb;hb=31a7920ec3adbd7888621f97d3a0e1c801e78026;hpb=98de30ba6efcdfb59aec72767f847fe91cffa13d diff --git a/sv_main.c b/sv_main.c index 2efbb889..2e45d00f 100644 --- a/sv_main.c +++ b/sv_main.c @@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // sv_main.c -- server main program #include "quakedef.h" +#include "libcurl.h" void SV_VM_Init(); void SV_VM_Setup(); @@ -1677,6 +1678,10 @@ void SV_SpawnServer (const char *server) svs.changelevel_issued = false; // now safe to issue another + // make the map a required file for clients + Curl_ClearRequirements(); + Curl_RequireFile(modelname); + // // tell all connected clients that we are going to a new level //