git-svn-id: svn://svn.icculus.org/twilight/branches/dp-mqc-render/darkplaces@7909
d7cf8633-e32d-0410-b094-
e92efae38249
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");
// 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;
}