diff options
Diffstat (limited to 'pkg/pointer/storage-offset.go')
-rw-r--r-- | pkg/pointer/storage-offset.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pointer/storage-offset.go b/pkg/pointer/storage-offset.go index 0fcd9ed..dc63ee0 100644 --- a/pkg/pointer/storage-offset.go +++ b/pkg/pointer/storage-offset.go @@ -5,7 +5,7 @@ func (p Pointer) GetStorageOffset() (x, y int) { } func (p *Pointer) CalculateNewStorageOffset() { - p.sox, p.soy = p.x+p.delta.x, p.y+p.delta.y + p.sox, p.soy = p.x+p.dx, p.y+p.dy } func (p *Pointer) SetStorageOffset(x, y int) { |