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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user