fix #2251 - M-5 operation with number_pad:2
From a bug report, using Alt+5 when number_pad mode is set to MSDOS compatibility (where Alt+5 is supposed to function as the 'G' movement prefix) didn't work correctly. The code that did M-5 to G conversion was being executed after the code which should have gotten G's direction, resulting in strange behavior, probably using stale values for u.dx and u.dy. (With current dev code, I evidently had u.dx==0 && u.dy==0 so was getting "You can't get there from here..." which is actually pretty amusing in the current context. 3.4.3 didn't have that feedback so I'm not sure what happened in it; possibly just silent refusal to move.)
This commit is contained in:
@@ -402,6 +402,8 @@ when polymorphed into an opposite sex monster, if you then become a new
|
||||
human while failing to polymorph into something else, you'd be told
|
||||
"you feel like a new man" for female or "a new woman" for male
|
||||
the weight of a non-cursed bag of holding was sometimes off by 1 unit
|
||||
for number_pad:2 (MSDOS compatibility), M-5 (Alt+5, or Shift+keypad5 using
|
||||
MSDOS/Windows keystroke hackery) didn't function as G movement prefix
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user