diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-11 02:57:22 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-11 02:57:22 +0200 |
commit | 36251e2310c6e70d7fbb9cff4bf8bcd71f0ef248 (patch) | |
tree | 6aaa5f9c196a21c42398b51beb63713013fb3c90 /gui.py | |
parent | 078afaad7b988e20bb3dc36a5b1821c08d8a6a99 (diff) | |
parent | d4f6807acab2cb0c3a1e5bd6d91fc16630c565f3 (diff) |
Merge branch 'master' of github.com:Windfisch/agario-frickel
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -47,10 +47,7 @@ def draw_box(rect, color, filled=False, global_coords=True): def draw_circle(pos, r, color, filled=False, global_coords=True): if global_coords: - pos = ( - world_to_win_pt(pos[0], c.player.center), - world_to_win_pt(pos[1], c.player.center) - ) + pos = world_to_win_pt(pos, c.player.center) if filled: gfxdraw.filled_circle(screen, pos[0], pos[1], r, color) |