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:
@@ -36,7 +36,7 @@ char *getclientmap() { return clientmap; }
|
||||
void mapname() { result(getclientmap()); }
|
||||
COMMAND(mapname, ARG_NONE);
|
||||
|
||||
extern bool c2sinit, senditemstoserver, sendspawnlist;
|
||||
extern bool c2sinit, sendmapidenttoserver;
|
||||
|
||||
void setskin(playerent *pl, uint skin)
|
||||
{
|
||||
@@ -721,7 +721,7 @@ int suicided = -1;
|
||||
void startmap(const char *name, bool reset) // called just after a map load
|
||||
{
|
||||
s_strcpy(clientmap, name);
|
||||
senditemstoserver = sendspawnlist = true;
|
||||
sendmapidenttoserver = true;
|
||||
// Added by Rick
|
||||
if(m_botmode) BotManager.BeginMap(name);
|
||||
else kickallbots();
|
||||
|
||||
Reference in New Issue
Block a user