Bug #695

Pressing ESC then Backspace shuts down the replay

Added by Saukko almost 4 years ago. Updated over 1 year ago.

Status:Fixed% Done:

100%

Priority:Normal
Assignee:Aranud
Category:Mod CGAME
Target version:2.76
OS: Arch:

Description

This seems bugged to me. Backspace is to close/open the help window on the right side but when pressed after pressing ESC to close the help window, the replay will shut down.

-*S


Related issues

Related to ET: Legacy Development - Bug #1018: Pause feature exit the demo Fixed 08.03.2017

Associated revisions

Revision 5817928b
Added by Aranud over 1 year ago

cgame: fix pressing ESC then Backspace shuts down the replay, refs #695

Revision 91d3f88d
Added by Aranud over 1 year ago

client: force exiting demo refs #695

History

#1 Updated by Aranud over 1 year ago

  • Target version changed from 2.77 to 2.76
  • % Done changed from 0 to 90

This should be fixed now. Need feedback !

#2 Updated by Spyhawk over 1 year ago

  • Category set to Mod CGAME
  • Status changed from New to Feedback

#3 Updated by Saukko over 1 year ago

Still the same, nothing has changed. Press ESC, press Backspace and the replay just stops.

-*S

#4 Updated by Aranud over 1 year ago

  • % Done changed from 90 to 50

Alright, the ESCAPE button isn’t catch in CG_DemoClick, but earlier in CL_KeyEvent.
This function treat the K_ESCAPE as the given comment say : escape is always handled special.
The first time the ESCAPE button is hit, escape always gets out of CGAME stuff.
The second time, it’s call CL_Disconnect_f() then back to main menu.
Need to investigate where to handle properly. Perhaps in CG_EventHandling or in CL_KeyEvent.

#5 Updated by Aranud over 1 year ago

  • % Done changed from 50 to 90

Now it should be ok.

#6 Updated by Saukko over 1 year ago

  • Status changed from Feedback to Fixed
  • Assignee set to Aranud
  • % Done changed from 90 to 100

It works now. The replay stops right after when you press ESC. Also pressing backspace toggles help window.

Excellent job!

-*S

#7 Updated by Spyhawk over 1 year ago

  • Related to Bug #1018: Pause feature exit the demo added

Also available in: Atom PDF