finishing the previous fix - thanks to stef for alerting us of the problem
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5555 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -35,6 +35,7 @@ extern vector<int> eh_ents; // edithide entities
|
||||
extern vec worldpos, camup, camright, camdir; // current target of the crosshair in the world
|
||||
extern int lastmillis, totalmillis; // last time
|
||||
extern int curtime; // current frame time
|
||||
extern int interm;
|
||||
extern int gamemode, nextmode;
|
||||
extern int gamespeed;
|
||||
extern int xtraverts;
|
||||
|
||||
@@ -45,7 +45,8 @@ bool custom_servdesc = false;
|
||||
// current game
|
||||
string smapname, nextmapname;
|
||||
int smode = 0, nextgamemode;
|
||||
static int interm = 0, minremain = 0, gamemillis = 0, gamelimit = 0, /*lmsitemtype = 0,*/ nextsendscore = 0;
|
||||
int interm = 0;
|
||||
static int minremain = 0, gamemillis = 0, gamelimit = 0, /*lmsitemtype = 0,*/ nextsendscore = 0;
|
||||
mapstats smapstats;
|
||||
vector<server_entity> sents;
|
||||
char *maplayout = NULL, *testlayout = NULL;
|
||||
|
||||
@@ -87,7 +87,6 @@ bool requestmasterf(const char *fmt, ...)
|
||||
}
|
||||
|
||||
extern void processmasterinput(const char *cmd, int cmdlen, const char *args);
|
||||
extern bool msreg;
|
||||
|
||||
void processmasterinput()
|
||||
{
|
||||
@@ -107,7 +106,6 @@ void processmasterinput()
|
||||
logline(ACLOG_WARNING, "master server registration failed: %s", args);
|
||||
else if(!strncmp(input, "succreg", cmdlen))
|
||||
{
|
||||
msreg = false;
|
||||
logline(ACLOG_INFO, "master server registration succeeded");
|
||||
}
|
||||
else processmasterinput(input, cmdlen, args);
|
||||
@@ -162,7 +160,7 @@ void flushmasterinput()
|
||||
}
|
||||
|
||||
extern char *global_name;
|
||||
extern int interm
|
||||
extern int interm;
|
||||
|
||||
// send alive signal to masterserver after 40 minutes of uptime and during an intermission (so theoretically <= 1 hour) - after 1 hour at the latest.
|
||||
static inline void updatemasterserver(int millis, int port)
|
||||
|
||||
Reference in New Issue
Block a user