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,7 +178,8 @@ proc Eval(p: var Pointer, f: var Field, c: int): (bool, ref int) =
|
|||
var v: tuple[x, y: int]
|
||||
if p.ss[].End(v):
|
||||
p.Reverse()
|
||||
p.sox = v.x; p.soy = v.y
|
||||
else:
|
||||
p.sox = v.x; p.soy = v.y
|
||||
of int('u'):
|
||||
if p.ss[].Under():
|
||||
p.Reverse()
|
||||
|
|
Reference in a new issue