prevent clients from downloading a demo twice

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7344 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-03-10 20:37:51 +00:00
parent d4b1793621
commit c428be31f4
2 changed files with 17 additions and 1 deletions
+7
View File
@@ -374,12 +374,19 @@ struct server_entity // server side version of "entity" type
short x, y;
};
struct clientidentity
{
uint ip;
int clientnum;
};
struct demofile
{
string info;
string file;
uchar *data;
int len;
vector<clientidentity> clientssent;
};
void startgame(const char *newname, int newmode, int newtime = -1, bool notify = true);