*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@694 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -273,11 +273,8 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
|
||||
case SV_FRAGS:
|
||||
CN_CHECK;
|
||||
players[cn]->frags = getint(p);
|
||||
d->frags = getint(p);
|
||||
break;
|
||||
|
||||
case SV_RESUME:
|
||||
@@ -354,8 +351,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
break;
|
||||
|
||||
case SV_CLIENTPING:
|
||||
CN_CHECK;
|
||||
players[cn]->ping = getint(p);
|
||||
d->ping = getint(p);
|
||||
break;
|
||||
|
||||
case SV_GAMEMODE:
|
||||
|
||||
@@ -67,7 +67,7 @@ char *getalias(char *name)
|
||||
bool addcommand(char *name, void (*fun)(), int narg)
|
||||
{
|
||||
if(!idents) idents = new hashtable<char *, ident>;
|
||||
ident c = { ID_COMMAND, name, 0, 0, 0, fun, narg, 0 };
|
||||
ident c = { ID_COMMAND, name, 0, 0, 0, fun, narg, 0, 0, false };
|
||||
idents->access(name, &c);
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user