From 64477f5e474b2a197c7c50af21768b90d7bc3723 Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Wed, 4 Sep 2013 00:07:22 -0700 Subject: [PATCH] stray pointer conversion --- player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.go b/player.go index ba91576..ca7ca18 100644 --- a/player.go +++ b/player.go @@ -56,7 +56,7 @@ func (p *player) recv() { } func (p *player) nudge() { - newPos := v.Move(p.Robot.Position, p.Robot.MoveTo, p.Robot.Stats.Speed, delta) + newPos := v.Move(p.Robot.Position, *p.Robot.MoveTo, p.Robot.Stats.Speed, delta) p.Robot.Position.X = newPos.X p.Robot.Position.Y = newPos.Y }