no more c2s SV_ITEMLIST and SV_SPAWNLIST: the server is now required to have the map

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4361 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-04-27 21:35:47 +00:00
parent 7fb07228ca
commit c5a7abae90
9 changed files with 100 additions and 135 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ void backup(char *name, char *backupname)
static string cgzname, ocgzname, bakname, pcfname, mcfname, omcfname;
void setnames(char *name)
const char *setnames(const char *name)
{
string pakname, mapname;
char *slash = strpbrk(name, "/\\");
@@ -37,6 +37,7 @@ void setnames(char *name)
path(cgzname);
path(bakname);
return cgzname;
}
// the optimize routines below are here to reduce the detrimental effects of messy mapping by