diff options
author | Julien Dessaux | 2022-08-09 22:52:09 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-08-09 22:52:09 +0200 |
commit | e431feb6cb4e0e553a2825a0caaf7a1cdc52c939 (patch) | |
tree | 441ab61bca7f88df725a74127f26f7124f72ac5b | |
parent | Cosmetics (diff) | |
download | nimfunge98-1.1.1.tar.gz nimfunge98-1.1.1.tar.bz2 nimfunge98-1.1.1.zip |
Fixed bug in the handling of end command failure1.1.1
Diffstat (limited to '')
-rw-r--r-- | src/pointer.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pointer.nim b/src/pointer.nim index 95032dd..bf2c743 100644 --- a/src/pointer.nim +++ b/src/pointer.nim @@ -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() |