Mercurial > nagslang
changeset 206:42c565c5ce76
PEP8
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Tue, 03 Sep 2013 23:32:46 +0200 |
parents | 51f979ddddbb |
children | 42e8993c31fd |
files | tools/area_editor.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/area_editor.py Tue Sep 03 23:31:54 2013 +0200 +++ b/tools/area_editor.py Tue Sep 03 23:32:46 2013 +0200 @@ -160,7 +160,7 @@ if draw_cand_line and start_pos and mouse_pos: endpoint = self.fix_line_angle(start_pos, mouse_pos) pointlist = [self.round_point(start_pos), - self.point_to_pygame(endpoint)] + self.point_to_pygame(endpoint)] pygame.draw.lines(self._surface, LINE_COLOR, False, pointlist, 1) return self._surface.copy() @@ -220,7 +220,7 @@ else: mouse_pos = None level_surface = level.draw(mouse_pos, self.cur_poly, self.filled_mode, - self._draw_lines, self._start_pos) + self._draw_lines, self._start_pos) if self._draw_objects: for thing in self.level.drawables: if not isinstance(thing, Enemy):