gcc warning fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3684 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -87,7 +87,7 @@ ENetBuffer masterb;
|
||||
|
||||
void updatemasterserver(int millis, const ENetAddress &localaddr)
|
||||
{
|
||||
if(millis>lastupdatemaster+(60*60*1000) || millis && !lastupdatemaster) // send alive signal to masterserver every hour of uptime
|
||||
if(millis>lastupdatemaster+(60*60*1000) || (millis && !lastupdatemaster)) // send alive signal to masterserver every hour of uptime
|
||||
{
|
||||
s_sprintfd(path)("%sregister.do?action=add&port=%d", masterpath, localaddr.port);
|
||||
s_sprintfd(agent)("AssaultCube Server %d", AC_VERSION);
|
||||
|
||||
Reference in New Issue
Block a user