Menu

#641 In Heretic it's possible to use items in the menu

Always occurs!
closed-fixed
None
5
2017-06-27
2017-04-09
syl
No

To reproduce (you need to have items in your inventory):
- assign "inventory use" key to enter
- go back to the game
- press enter to use an item
- press escape to open the menu
- press enter, you go to the sub-menu and you use an item in your paused game.

Discussion

  • Wesley Johnson

    Wesley Johnson - 2017-04-10
    • status: open --> pending-fixed
    • assigned_to: Wesley Johnson
     
  • Wesley Johnson

    Wesley Johnson - 2017-04-10

    Inventory key is a little strange because it triggers on the key release, while menu keys trigger on the key downpress event. This means that the menu system lets through the upkey events of the keys it intercepts on the downpress.
    A fix for this (years ago) was defeated because it left the inventory keypress armed after staging the inventory item. Opening the menu at that moment allowed an upkey of a different keypress to get through the protection.

    Fixed SVN 1309
    Fixed Inventory key responder to ignore keys when menu or console is open.
    Fix inventory key arming to clear itself on all upkey events.
    Included support for splitplayer.

     
  • syl

    syl - 2017-06-21

    I test a month ago with version 1317 and I can't reproduce the bug with this version.

     

    Last edit: syl 2017-06-21
  • Wesley Johnson

    Wesley Johnson - 2017-06-27
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.