From 6af9ed32f5d773be5a300511d47cdad42299df11 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 1 Oct 2007 16:51:09 +0000 Subject: Pressing ESC once no longer brings ingame menu but tries to get rid of current layout by issuing 'putaway' command. Fixed handling of reliable entity relative sounds. Register 'screenshotpng' and 'screenshotjpg' commands regardless if library support was linked in or not. Fixed handling of MVD channels menu. --- source/cl_parse.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/cl_parse.c') diff --git a/source/cl_parse.c b/source/cl_parse.c index 98f3ba4..2caa165 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -440,6 +440,7 @@ static void CL_SetActiveState( void ) { cls.state = ca_active; cl.oldframe.valid = qfalse; cl.frameflags = 0; + cl.putaway = qfalse; if( !cls.demoplayback ) { VectorScale( cl.frame.ps.pmove.origin, 0.125f, cl.predicted_origin ); @@ -1328,6 +1329,7 @@ static void CL_ParseLayout( void ) { } Q_strncpyz( cl.layout, string, sizeof( cl.layout ) ); + cl.putaway = qfalse; } /* @@ -1341,6 +1343,7 @@ static void CL_ParseInventory( void ) { for( i = 0; i < MAX_ITEMS; i++ ) { cl.inventory[i] = MSG_ReadShort(); } + cl.putaway = qfalse; } static void CL_ParseZPacket( void ) { -- cgit v1.2.3