wiz mode teleport starting destination selection
Ensure that the destination selection for intentional teleport begins at the hero, rather than starting at a place on the map stored from a prior travel command.
This commit is contained in:
@@ -1110,12 +1110,14 @@ dotele(
|
||||
}
|
||||
|
||||
if (next_to_u()) {
|
||||
if (trap && trap_once)
|
||||
if (trap && trap_once) {
|
||||
vault_tele();
|
||||
else if (trap && isok(trap->teledest.x, trap->teledest.y))
|
||||
} else if (trap && isok(trap->teledest.x, trap->teledest.y)) {
|
||||
teleds(trap->teledest.x, trap->teledest.y, TELEDS_TELEPORT);
|
||||
else
|
||||
} else {
|
||||
iflags.travelcc.x = iflags.travelcc.y = 0;
|
||||
tele();
|
||||
}
|
||||
(void) next_to_u();
|
||||
} else {
|
||||
You("%s", shudder_for_moment);
|
||||
|
||||
Reference in New Issue
Block a user