*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1258 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -235,7 +235,7 @@ void otherplayers()
|
||||
{
|
||||
loopv(players) if(players[i] && players[i]->type==ENT_PLAYER && players[i]->state==CS_ALIVE)
|
||||
{
|
||||
const int lagtime = lastmillis-players[i]->lastupdate;
|
||||
const int lagtime = players[i]->lastupdate ? lastmillis-players[i]->lastupdate : 0;
|
||||
if(lagtime>1000)
|
||||
{
|
||||
players[i]->state = CS_LAGGED;
|
||||
|
||||
Reference in New Issue
Block a user