Merge branch 'fix-travel' of https://github.com/entrez/NetHack into several-pr
This commit is contained in:
@@ -4734,6 +4734,7 @@ dotravel_target(void)
|
|||||||
u.last_str_turn = 0;
|
u.last_str_turn = 0;
|
||||||
g.context.mv = TRUE;
|
g.context.mv = TRUE;
|
||||||
|
|
||||||
|
domove();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3050,7 +3050,6 @@ end_running(boolean and_travel)
|
|||||||
if (flags.time && g.context.run)
|
if (flags.time && g.context.run)
|
||||||
iflags.time_botl = TRUE;
|
iflags.time_botl = TRUE;
|
||||||
g.context.run = 0;
|
g.context.run = 0;
|
||||||
g.domove_attempting = 0;
|
|
||||||
/* 'context.mv' isn't travel but callers who want to end travel
|
/* 'context.mv' isn't travel but callers who want to end travel
|
||||||
all clear it too */
|
all clear it too */
|
||||||
if (and_travel)
|
if (and_travel)
|
||||||
|
|||||||
Reference in New Issue
Block a user