From 48f396408db0e4b58e6e4229520197dd81d1b0a3 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 21 Aug 2007 13:34:19 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1270 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clients2c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 23af8889..5b85741c 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -53,7 +53,7 @@ void updatelagtime(playerent *d) int lagtime = lastmillis-d->lastupdate; if(lagtime) { - if(d->state!=CS_SPAWNING) d->plag = (d->plag*5+lagtime)/6; + if(d->state!=CS_SPAWNING && d->lastupdate) d->plag = (d->plag*5+lagtime)/6; d->lastupdate = lastmillis; } }