auts: minor

This commit is contained in:
coaljoe 2020-08-22 21:35:55 +03:00
parent 96560a64e1
commit cef41ae0d0

View file

@ -56,8 +56,10 @@ fn (mut s Sprite) draw() {
px := s.x - s.shift_x
py := s.y - s.shift_y
sx, sy := world_to_screen_pos(px, py)
s.tex.draw_pos(px, py)
s.tex.draw_pos(sx, sy)
}
fn (mut s Sprite) update(dt f32) {