Skip to content

Commit

Permalink
SV_SpawnServer: .map extension test is supposed to be commented out. …
Browse files Browse the repository at this point in the history
…tbh the whole extension check doesn't work as well here as in SV_Map_f and should probably be redone and/or streamlined.
  • Loading branch information
eukara committed Sep 11, 2024
1 parent 2fc6b2e commit 97321a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/server/sv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ void SV_SpawnServer (const char *server, const char *startspot, qboolean noents,
{
//.map is commented out because quite frankly, they're a bit annoying when the engine loads the gpled start.map when really you wanted to just play the damn game intead of take it apart.
//if you want to load a .map, just use 'map foo.map' instead.
char *exts[] = {"%s", "maps/%s", "maps/%s.bsp", "maps/%s.d3dbsp", "maps/%s.cm", "maps/%s.hmp", "maps/%s.bsp.gz", "maps/%s.bsp.xz", "maps/%s.map", NULL}, *e;
char *exts[] = {"%s", "maps/%s", "maps/%s.bsp", "maps/%s.d3dbsp", "maps/%s.cm", "maps/%s.hmp", "maps/%s.bsp.gz", "maps/%s.bsp.xz", /*"maps/%s.map",*/ NULL}, *e;
int depth, bestdepth = FDEPTH_MISSING;
flocation_t loc;
time_t filetime;
Expand Down

0 comments on commit 97321a1

Please sign in to comment.