automatically reduce showstats when dbgpos is set

Reduces "showstats 2" to "showstats 1" when dbgpos is set to "1".

DOCREF showstats dbgpos
This commit is contained in:
ac-stef
2015-05-27 15:47:05 +02:00
parent 95680b699c
commit 79f78711bd
+1 -1
View File
@@ -906,7 +906,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
formatstring(enginestateinfo)("%d %d %d %d %d", curfps, lod_factor(), nquads, curvert, xtraverts);
if(showstats)
{
if(showstats==2)
if(showstats==2 && !dbgpos)
{
const int left = (VIRTW-225-10)*2, top = (VIRTH*7/8)*2;
const int ttll = VIRTW*2 - 3*FONTH/2;