Fixed bug in the handling of end command failure
This commit is contained in:
parent
712e79c6e8
commit
e431feb6cb
1 changed files with 2 additions and 1 deletions
|
@ -178,6 +178,7 @@ proc Eval(p: var Pointer, f: var Field, c: int): (bool, ref int) =
|
||||||
var v: tuple[x, y: int]
|
var v: tuple[x, y: int]
|
||||||
if p.ss[].End(v):
|
if p.ss[].End(v):
|
||||||
p.Reverse()
|
p.Reverse()
|
||||||
|
else:
|
||||||
p.sox = v.x; p.soy = v.y
|
p.sox = v.x; p.soy = v.y
|
||||||
of int('u'):
|
of int('u'):
|
||||||
if p.ss[].Under():
|
if p.ss[].Under():
|
||||||
|
|
Reference in a new issue