From: black Date: Sat, 5 Jan 2008 01:59:47 +0000 (+0000) Subject: Yay, make it crash at least. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e1dbebe8457656c28780989608e9c5b387c3305c;p=xonotic%2Fdarkplaces.git Yay, make it crash at least. git-svn-id: svn://svn.icculus.org/twilight/branches/dp-mqc-render/darkplaces@7909 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/menu.c b/menu.c index 63cec73b..e494080b 100644 --- a/menu.c +++ b/menu.c @@ -5076,6 +5076,8 @@ void MP_Draw (void) PRVM_Begin; PRVM_SetProg(PRVM_MENUPROG); + R_UpdateVariables(); + // FIXME: this really shouldnt error out lest we have a very broken refdef state...? // or does it kill the server too? PRVM_ExecuteProgram(prog->funcoffsets.m_draw,"m_draw() required"); @@ -5140,6 +5142,9 @@ void MP_Init (void) // call the prog init PRVM_ExecuteProgram(prog->funcoffsets.m_init,"m_init() required"); + // FIXME: needed so cl.max_entities is set + CL_ClearState (); + PRVM_End; }