diff options
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ def draw_arc(pos, r, bounds, color, global_coords=True): if global_coords: pos = world_to_win_pt(pos, c.player.center) - gfxdraw.arc(screen, pos[0], pos[1], r, bounds[0], bounds[1], color) + gfxdraw.arc(screen, pos[0], pos[1], r, int(bounds[0]*180/math.pi), int(bounds[1]*180/math.pi), color) def update(): pygame.display.update() @@ -239,4 +239,4 @@ def draw_frame(): if event.type == MOUSEMOTION: c.send_target(*win_to_world_pt(event.pos, c.player.center)) - pygame.display.update()
\ No newline at end of file + pygame.display.update() |