mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Fix the missing console prompt on demo stop.
CL_StopPlayback was incorrectly calling Key_SetKeyDest with key_game. As CL_SetState calls Key_SetKeyDest with the appropriate parameter, CL_StopPlayback calling Key_SetKeyDest is actually redundate, so just change key_game_target back to IMT_0.
This commit is contained in:
parent
b0b07d09b9
commit
ca1a5dfe8f
2 changed files with 2 additions and 4 deletions
|
@ -125,11 +125,10 @@ CL_StopPlayback (void)
|
|||
|
||||
Qclose (cls.demofile);
|
||||
cls.demofile = NULL;
|
||||
key_game_target = IMT_0;
|
||||
CL_SetState (ca_disconnected);
|
||||
cls.demo_capture = 0;
|
||||
cls.demoplayback = 0;
|
||||
key_game_target = IMT_0;
|
||||
Key_SetKeyDest (key_game);
|
||||
|
||||
if (cls.timedemo)
|
||||
CL_FinishTimeDemo ();
|
||||
|
|
|
@ -144,14 +144,13 @@ CL_StopPlayback (void)
|
|||
|
||||
Qclose (cls.demofile);
|
||||
cls.demofile = NULL;
|
||||
key_game_target = IMT_0;
|
||||
CL_SetState (ca_disconnected);
|
||||
cls.demo_capture = 0;
|
||||
cls.demoplayback = 0;
|
||||
cls.demoplayback2 = 0;
|
||||
demotime_cached = 0;
|
||||
net_blocksend = 0;
|
||||
key_game_target = IMT_0;
|
||||
Key_SetKeyDest (key_game);
|
||||
|
||||
if (cls.timedemo)
|
||||
CL_FinishTimeDemo ();
|
||||
|
|
Loading…
Reference in a new issue