Mercurial > nagslang
changeset 457:fcf9f6edf153
Use right cordinates for interior walls
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 07 Sep 2013 15:32:24 +0200 |
parents | 427d4a3c53d7 |
children | 41ebc538109c |
files | tools/area_editor.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/area_editor.py Sat Sep 07 15:26:00 2013 +0200 +++ b/tools/area_editor.py Sat Sep 07 15:32:24 2013 +0200 @@ -163,6 +163,7 @@ line_width) if draw_cand_line and start_pos and mouse_pos: endpoint = level_widget.snap_to_grid(mouse_pos) + endpoint = self.point_to_pymunk(endpoint) pointlist = [start_pos, self.point_to_pygame(endpoint)] pygame.draw.lines(self._surface, LINE_COLOR, False, pointlist, 1)