correct go vet errors

This commit is contained in:
sm
2014-04-23 14:58:22 -07:00
parent bbfb2af4a9
commit 2d8b878f50
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -164,8 +164,8 @@ func (mo MiniObstacle) String() string {
func (mo *MiniObstacle) ToObstacle() server.Obstacle {
return server.Obstacle{
Bounds: vector.AABB2d{
A: vector.Point2d{float32(mo[0]), float32(mo[1])},
B: vector.Point2d{float32(mo[2]), float32(mo[3])},
A: vector.Point2d{X: float32(mo[0]), Y: float32(mo[1])},
B: vector.Point2d{X: float32(mo[2]), Y: float32(mo[3])},
},
}
}