Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/editmap.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-03-12 05:04:15 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-03-12 05:04:15 (GMT)
commitf375c2d319a8c8cc05b389100280249f1cb53ed9 (patch)
tree5a4fa70e2c6b0b421c89b4fea2e26e9dd7b4ccc7 /editmap.py
parenta820aacf87bc9ead61cdb94668f51ad15bd41853 (diff)
Save the size of objects independent of resolution
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'editmap.py')
-rw-r--r--editmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmap.py b/editmap.py
index 1cdf98e..8094ca5 100644
--- a/editmap.py
+++ b/editmap.py
@@ -141,7 +141,7 @@ class EditMapWin(gtk.HBox):
y = self.nav_view.y
direction = self.nav_view.direction
wall_object = {'image_file_name': image_file_name,
- 'wall_x': 50.0, 'wall_y': 50.0, 'scale': 50}
+ 'wall_x': 50.0, 'wall_y': 50.0, 'wall_scale': 0.2}
self.game_map.add_object_to_wall(x, y, direction, wall_object)
self.nav_view.update_wall_info(x, y, direction)