diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-10-01 16:51:09 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-10-01 16:51:09 +0000 |
commit | 6af9ed32f5d773be5a300511d47cdad42299df11 (patch) | |
tree | 5d17d1959155ac40b3c42dd23b9c1853102eecc3 /source/cl_parse.c | |
parent | 189d75888f07709d8cd06d79a23b8c4c8815c60d (diff) |
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.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r-- | source/cl_parse.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ) { |