From a5338ee3d9b2342db41bd603889e20e761a3a5ce Mon Sep 17 00:00:00 2001
From: Florian Jung <flo@windfisch.org>
Date: Tue, 11 Aug 2015 02:56:56 +0200
Subject: draw_arc() now takes radians, not deg

---
 gui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui.py b/gui.py
index 91a52a8..19690c8 100644
--- a/gui.py
+++ b/gui.py
@@ -77,7 +77,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()
-- 
cgit v1.2.3