From: FruitieX Date: Mon, 11 Apr 2011 12:43:32 +0000 (+0300) Subject: fix the shownames dialog finally X-Git-Tag: xonotic-v0.5.0~305^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c1819b67892ba8f3d40f08d6bcfceda009188674;p=xonotic%2Fxonotic-data.pk3dir.git fix the shownames dialog finally --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index bda4acccd..35de11ccb 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -5024,7 +5024,6 @@ void HUD_ShowNames(void) else shownames_alpha = bound(0, shownames_alpha + 4 * frametime, 1); } - if(!autocvar_hud_panel_shownames && !autocvar__hud_configure) return; diff --git a/qcsrc/menu/xonotic/mainwindow.c b/qcsrc/menu/xonotic/mainwindow.c index bd15150a8..379646db7 100644 --- a/qcsrc/menu/xonotic/mainwindow.c +++ b/qcsrc/menu/xonotic/mainwindow.c @@ -114,6 +114,10 @@ void MainWindow_configureMainWindow(entity me) i.configureDialog(i); me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); + i = spawnXonoticHUDShownamesDialog(); + i.configureDialog(i); + me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); + me.advancedDialog = i = spawnXonoticAdvancedDialog(); i.configureDialog(i); me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z);