no hudclock in local games (missing SV_TIMEUP)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5720 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-10-06 20:44:38 +00:00
parent d20c554ada
commit 69b4bbcda3
+1 -1
View File
@@ -843,7 +843,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
draw_text(c_val, VIRTW*2 - ( text_width(c_val) + FONTH ), VIRTH*2 - 3*FONTH/2);
}
}
if(!intermission && clockdisplay!=0)
if(!intermission && clockdisplay!=0 && lastgametimeupdate!=0)
{
string gtime;
int cssec = (gametimecurrent+(lastmillis-lastgametimeupdate))/1000;