resume message fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3386 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-11-03 01:11:58 +00:00
parent 5d5d66e3cc
commit b7554de937
+3 -2
View File
@@ -2224,7 +2224,7 @@ void getservermap(void)
void sendresume(client &c, bool broadcast)
{
sendf(broadcast ? -1 : c.clientnum, 1, "rxii9vv", broadcast ? c.clientnum : -1, SV_RESUME,
sendf(broadcast ? -1 : c.clientnum, 1, "rxii9vvi", broadcast ? c.clientnum : -1, SV_RESUME,
c.clientnum,
c.state.state,
c.state.lifesequence,
@@ -2235,7 +2235,8 @@ void sendresume(client &c, bool broadcast)
c.state.health,
c.state.armour,
NUMGUNS, c.state.ammo,
NUMGUNS, c.state.mag);
NUMGUNS, c.state.mag,
-1);
}
void sendinits2c(client &c)