*** 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:
Lee Salzman
2006-11-16 20:22:35 +00:00
parent 635fcead0a
commit 83ac4c681a
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -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:
+1 -1
View File
@@ -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;
};