diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c index 3929d9c4..40d64638 100644 --- a/code/client/cl_scrn.c +++ b/code/client/cl_scrn.c @@ -484,7 +484,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) { re.BeginFrame( stereoFrame ); - uiFullscreen = VM_Call( uivm, UI_IS_FULLSCREEN ); + uiFullscreen = (uivm && VM_Call( uivm, UI_IS_FULLSCREEN )); // wide aspect ratio screens need to have the sides cleared // unless they are displaying game renderings diff --git a/code/q3_ui/ui_atoms.c b/code/q3_ui/ui_atoms.c index 9292690b..753f75a5 100644 --- a/code/q3_ui/ui_atoms.c +++ b/code/q3_ui/ui_atoms.c @@ -995,6 +995,9 @@ UI_ConsoleCommand qboolean UI_ConsoleCommand( int realTime ) { char *cmd; + uis.frametime = realTime - uis.realtime; + uis.realtime = realTime; + cmd = UI_Argv( 0 ); // ensure minimum menu data is available diff --git a/code/ui/ui_shared.c b/code/ui/ui_shared.c index 5d8fea43..250089de 100644 --- a/code/ui/ui_shared.c +++ b/code/ui/ui_shared.c @@ -2701,7 +2701,6 @@ void Menu_HandleKey(menuDef_t *menu, int key, qboolean down) { item->cursorPos = 0; g_editingField = qtrue; g_editItem = item; - DC->setOverstrikeMode(qtrue); } } else { if (Rect_ContainsPoint(&item->window.rect, DC->cursorx, DC->cursory)) { @@ -2739,7 +2738,6 @@ void Menu_HandleKey(menuDef_t *menu, int key, qboolean down) { item->cursorPos = 0; g_editingField = qtrue; g_editItem = item; - DC->setOverstrikeMode(qtrue); } else { Item_Action(item); }