From f0781dc2580e9a46a77f9c3cc2b9146a26a5156e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 29 Dec 2011 11:50:36 +0100 Subject: [PATCH] menu: fix mapinfo initialization --- qcsrc/menu/menu.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/menu/menu.qc b/qcsrc/menu/menu.qc index ff91f5359..536295fc2 100644 --- a/qcsrc/menu/menu.qc +++ b/qcsrc/menu/menu.qc @@ -50,6 +50,10 @@ void m_init() dprint(s, ": ", getgamedirinfo(i, GETGAMEDIRINFO_DESCRIPTION)); } } + + // needs to be done so early because of the constants they create + RegisterWeapons(); + RegisterGametypes(); } float MENU_ASPECT = 1.25; // 1280x1024 @@ -117,10 +121,6 @@ void m_init_delayed() return; menuInitialized = 1; - // needs to be done so early because of the constants they create - RegisterWeapons(); - RegisterGametypes(); - fh = -1; if(cvar_string("menu_skin") != "") { -- 2.39.2