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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user