From 34f55c05e6b23d1fbd875fab6bd622b4802dce58 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 20 Aug 2021 04:53:33 +0000 Subject: [PATCH] Minor tweaks. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6026 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_main.c | 2 +- engine/client/m_items.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 4438c1570..5532320b2 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -143,7 +143,7 @@ extern int total_loading_size, current_loading_size, loading_stage; // info mirrors // cvar_t password = CVARAF("password", "", "pq_password", CVAR_USERINFO | CVAR_NOUNSAFEEXPAND); //this is parhaps slightly dodgy... added pq_password alias because baker seems to be using this for user accounts. -static cvar_t spectator = CVARF("spectator", "", CVAR_USERINFO); +cvar_t spectator = CVARF("spectator", "", CVAR_USERINFO); cvar_t name = CVARFC("name", "Player", CVAR_ARCHIVE | CVAR_USERINFO, Name_Callback); cvar_t team = CVARF("team", "", CVAR_ARCHIVE | CVAR_USERINFO); cvar_t skin = CVARAF("skin", "", "_cl_playerskin", CVAR_ARCHIVE | CVAR_USERINFO); diff --git a/engine/client/m_items.c b/engine/client/m_items.c index 007a4f999..eea9204f2 100644 --- a/engine/client/m_items.c +++ b/engine/client/m_items.c @@ -1975,7 +1975,7 @@ void M_Complex_Key(emenu_t *currentmenu, int key, int unicode) if (currentmenu->key(key, currentmenu)) return; - if (currentmenu->selecteditem && currentmenu->selecteditem->common.type == mt_custom && (key == K_DOWNARROW || key == K_KP_DOWNARROW || key == K_GP_DPAD_DOWN || key == K_GP_A || key == K_GP_B || key == K_UPARROW || key == K_KP_UPARROW || key == K_GP_DPAD_UP || key == K_TAB || key == K_MWHEELUP || key == K_MWHEELDOWN)) + if (currentmenu->selecteditem && currentmenu->selecteditem->common.type == mt_custom && (key == K_DOWNARROW || key == K_KP_DOWNARROW || key == K_GP_DPAD_DOWN || key == K_GP_A || key == K_GP_B || key == K_UPARROW || key == K_KP_UPARROW || key == K_GP_DPAD_UP || key == K_TAB || key == K_MWHEELUP || key == K_MWHEELDOWN || key == K_PGUP || key == K_PGDN)) if (currentmenu->selecteditem->custom.key) if (currentmenu->selecteditem->custom.key(¤tmenu->selecteditem->custom, currentmenu, key, unicode)) return;