mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-10 17:50:48 +00:00
cl_demo.c (CL_PlayDemo_f): set key_dest to key_game only when the
demo file is successfully opened. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@697 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c00571286e
commit
bf35f44bf1
1 changed files with 3 additions and 3 deletions
|
@ -297,9 +297,6 @@ void CL_PlayDemo_f (void)
|
|||
return;
|
||||
}
|
||||
|
||||
// get rid of the menu and/or console
|
||||
key_dest = key_game;
|
||||
|
||||
// disconnect from server
|
||||
CL_Disconnect ();
|
||||
|
||||
|
@ -351,6 +348,9 @@ void CL_PlayDemo_f (void)
|
|||
cls.demoplayback = true;
|
||||
cls.state = ca_connected;
|
||||
|
||||
// get rid of the menu and/or console
|
||||
key_dest = key_game;
|
||||
|
||||
// Get a new message on playback start.
|
||||
// Moved from CL_TimeDemo_f to here, Pa3PyX.
|
||||
cls.td_lastframe = -1;
|
||||
|
|
Loading…
Reference in a new issue