{
if(autocvar__hud_configure)
return true;
- if(mv_active)
+ if(mv_active && !isdemo())
return true;
//entity local_player = ((csqcplayer) ? csqcplayer : CSQCModel_server2csqc(player_localentnum - 1)); // TODO: doesn't use regular cursor handling
//if(local_player.viewloc && (local_player.viewloc.spawnflags & VIEWLOC_FREEAIM))
float chat_maximized_reset_scroll_time;
float HUD_Panel_Chat_InputEvent(float bInputType, float nPrimary, float nSecondary)
{
+ if(!autocvar__con_chat_maximized)
+ return false;
+
if(bInputType == 3)
{
mousepos.x = nPrimary;
// at this point bInputType can only be 0 or 1 (key pressed or released)
bool key_pressed = (bInputType == 0);
- if(!autocvar__con_chat_maximized)
- return false;
-
if(nPrimary == K_MWHEELUP)
{
if (!key_pressed)