afk autokick (30 seconds idle = boot)... SPECTATE state is ignored

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5157 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-06-07 19:12:21 +00:00
parent 9b44f79f5d
commit 3f5ff2e705
4 changed files with 30 additions and 3 deletions
+2
View File
@@ -254,6 +254,7 @@ struct client // server side version of "dynent" type
bool upspawnp;
vec spawnp;
int nvotes;
int input, inputmillis;
gameevent &addevent()
{
@@ -304,6 +305,7 @@ struct client // server side version of "dynent" type
mapchange();
freshgame = false; // don't spawn into running games
mute = spam = lastvc = badspeech = badmillis = nvotes = 0;
input = inputmillis = 0;
}
void zap()