Merge branch 'NetHack-3.6' part 2
This commit is contained in:
+4
-6
@@ -430,7 +430,7 @@ int portdebug;
|
|||||||
int ch;
|
int ch;
|
||||||
|
|
||||||
#ifdef QWERTZ_SUPPORT
|
#ifdef QWERTZ_SUPPORT
|
||||||
if (Cmd.swap_yz)
|
if (g.Cmd.swap_yz)
|
||||||
numberpad |= 0x10;
|
numberpad |= 0x10;
|
||||||
#endif
|
#endif
|
||||||
ch = keyboard_handler.pProcessKeystroke(
|
ch = keyboard_handler.pProcessKeystroke(
|
||||||
@@ -462,7 +462,7 @@ tgetch()
|
|||||||
if (iflags.debug_fuzzer)
|
if (iflags.debug_fuzzer)
|
||||||
return randomkey();
|
return randomkey();
|
||||||
#ifdef QWERTZ_SUPPORT
|
#ifdef QWERTZ_SUPPORT
|
||||||
if (Cmd.swap_yz)
|
if (g.Cmd.swap_yz)
|
||||||
numpad |= 0x10;
|
numpad |= 0x10;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -488,13 +488,11 @@ int *x, *y, *mod;
|
|||||||
if (poskey == 0) {
|
if (poskey == 0) {
|
||||||
*x = rn2(console.width);
|
*x = rn2(console.width);
|
||||||
*y = rn2(console.height);
|
*y = rn2(console.height);
|
||||||
if (poskey == 0) {
|
}
|
||||||
*x = rn2(console.width);
|
|
||||||
*y = rn2(console.height); }
|
|
||||||
return poskey;
|
return poskey;
|
||||||
}
|
}
|
||||||
#ifdef QWERTZ_SUPPORT
|
#ifdef QWERTZ_SUPPORT
|
||||||
if (Cmd.swap_yz)
|
if (g.Cmd.swap_yz)
|
||||||
numpad |= 0x10;
|
numpad |= 0x10;
|
||||||
#endif
|
#endif
|
||||||
ch = (g.program_state.done_hup)
|
ch = (g.program_state.done_hup)
|
||||||
|
|||||||
Reference in New Issue
Block a user