diff options
author | Julien Dessaux | 2021-09-24 18:19:57 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-24 18:19:57 +0200 |
commit | 62400c81db004e11e0f458f81b7206a6a4c179c7 (patch) | |
tree | 986adcd2a4183d2adb4238d97909c9577f393d6b /pkg/pointer/exec.go | |
parent | Fixed line feed handling which should be treated as like newline in Unefunge-... (diff) | |
download | gofunge98-62400c81db004e11e0f458f81b7206a6a4c179c7.tar.gz gofunge98-62400c81db004e11e0f458f81b7206a6a4c179c7.tar.bz2 gofunge98-62400c81db004e11e0f458f81b7206a6a4c179c7.zip |
Randomization and y fixes
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 61b415f..f29b00b 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) - p.ss.head.Push(ly + y) + p.ss.head.Push(lx + x + 1) + p.ss.head.Push(ly + y + 1) // 13 p.ss.head.Push(x) p.ss.head.Push(y) |