no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@616 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-12 20:01:46 +00:00
parent 2a0dc62900
commit 1f4113377f
6 changed files with 21 additions and 10 deletions
+2 -2
View File
@@ -110,12 +110,12 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
disconnect();
return;
};
clientnum = mycn; // we are now fully connectedss
clientnum = mycn; // we are now fully connected
bool firstplayer = !getint(p);
if(getint(p) > 0)
{
conoutf("INFO: this server is password protected");
addmsg(SV_PWD, "rs", clientpassword);
sendpwd = true;
};
if(firstplayer && getclientmap()[0]) changemap(getclientmap()); // we are the first client on this server, set map
break;