Commit 4cd40077acb21aff8a33885a95cac79799d66949

Authored by Marius Hanne
1 parent 3f2c18cfeb
Exists in master

fix player drift

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -29,8 +29,8 @@
29 29 p[1], v[1] = screen.size[1], 0 if p[1] > screen.size[1]
30 30 if pos != p
31 31 @body.p = CP::Vec2.new(*p)
32   - @body.v = CP::Vec2.new(*v)
33 32 end
  33 + @body.v = CP::Vec2.new(0,0)
34 34 super *a
35 35 end
36 36