From e1dbebe8457656c28780989608e9c5b387c3305c Mon Sep 17 00:00:00 2001 From: black Date: Sat, 5 Jan 2008 01:59:47 +0000 Subject: [PATCH] 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 --- menu.c | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.39.2