diff options
author | Julien Dessaux | 2021-09-27 08:03:05 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-27 08:03:05 +0200 |
commit | a5b4d184d4adc393e1947c20d25bd4faca12b213 (patch) | |
tree | 17c82cea951c20dbffeed4a465f3297bac9d8305 /pkg/pointer | |
parent | Fixes some mycology test suite errors (diff) | |
download | gofunge98-a5b4d184d4adc393e1947c20d25bd4faca12b213.tar.gz gofunge98-a5b4d184d4adc393e1947c20d25bd4faca12b213.tar.bz2 gofunge98-a5b4d184d4adc393e1947c20d25bd4faca12b213.zip |
Fixed system info greatest point calculation after re-reading the spec
Diffstat (limited to '')
-rw-r--r-- | pkg/pointer/exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/pointer/exec.go b/pkg/pointer/exec.go index f29b00b..2a0776d 100644 --- a/pkg/pointer/exec.go +++ b/pkg/pointer/exec.go @@ -230,8 +230,8 @@ func (p *Pointer) eval(c int, f *field.Field) (done bool, returnValue *int) { // 15 p.ss.head.Push(((now.Year() - 1900) * 256 * 256) + (int(now.Month()) * 256) + now.Day()) // 14 - p.ss.head.Push(lx + x + 1) - p.ss.head.Push(ly + y + 1) + p.ss.head.Push(lx - 1) + p.ss.head.Push(ly - 1) // 13 p.ss.head.Push(x) p.ss.head.Push(y) |