no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@731 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-25 22:19:04 +00:00
parent 890141c706
commit d478059945
5 changed files with 24 additions and 27 deletions
+9 -1
View File
@@ -408,7 +408,6 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
conoutf("%s", text);
break;
// EDIT: AH
case SV_FLAGINFO:
{
int flag = getint(p);
@@ -460,6 +459,15 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
d->flagscore = getint(p);
break;
};
case SV_MASTERINFO:
{
playerent *pl;
int m = getint(p);
if(m == -1) loopv(players) { players[i]->ismaster = false; }
else if((pl = getclient(m)) != NULL) pl->ismaster = true;
break;
};
/* demo recording compat */
case SV_PING: