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:
Lee Salzman
2008-11-20 20:39:43 +00:00
parent d92f4c2296
commit 71c5082d99
+1 -1
View File
@@ -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);