From 69b4bbcda37d47157aed09c8df347a589bf86051 Mon Sep 17 00:00:00 2001 From: flowtron Date: Wed, 6 Oct 2010 20:44:38 +0000 Subject: [PATCH] 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 --- source/src/renderhud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index b8b9ceb5..a96fba68 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -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;