fix #K188 - trying to move past edge of level
Trying to move into a wall or solid rock fails and doesn't do anything (unless the 'mention_walls' option is On) and doesn't use a turn, and trying to move off the edge of the map window also doesn't do anything (except for 'mention_walls') but that did use a turn. Don't.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
$NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.66 $ $NHDT-Date: 1578947634 2020/01/13 20:33:54 $
|
$NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.68 $ $NHDT-Date: 1579257808 2020/01/17 10:43:28 $
|
||||||
|
|
||||||
General Fixes and Modified Features
|
General Fixes and Modified Features
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
@@ -45,6 +45,7 @@ walking out of tethered-to-buried-object trap condition was supposed to
|
|||||||
when poly'd into a giant and moving onto a boulder's spot, message given was
|
when poly'd into a giant and moving onto a boulder's spot, message given was
|
||||||
confused about whether autopickup would occur so could be misleading
|
confused about whether autopickup would occur so could be misleading
|
||||||
random role selection wasn't honoring unwanted alignment(s) properly
|
random role selection wasn't honoring unwanted alignment(s) properly
|
||||||
|
if at the edge of the map window, trying to move farther fails but used a turn
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 hack.c $NHDT-Date: 1578916008 2020/01/13 11:46:48 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.243 $ */
|
/* NetHack 3.6 hack.c $NHDT-Date: 1579257808 2020/01/17 10:43:28 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.244 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Derek S. Ray, 2015. */
|
/*-Copyright (c) Derek S. Ray, 2015. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -1511,6 +1511,7 @@ domove_core()
|
|||||||
directionname(xytod(dx, dy)));
|
directionname(xytod(dx, dy)));
|
||||||
}
|
}
|
||||||
nomul(0);
|
nomul(0);
|
||||||
|
g.context.move = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (((trap = t_at(x, y)) && trap->tseen)
|
if (((trap = t_at(x, y)) && trap->tseen)
|
||||||
|
|||||||
Reference in New Issue
Block a user