Fixed ugly tile drawing bug.

This commit is contained in:
Niels Serup 2012-08-15 14:03:54 +02:00
parent e0ebc48f0b
commit 2abe70836f
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ class Level1(level.Level):
for y in range(task5_size[1]):
# if not (x, y) in tmap:
# continue
self.add_tile(task5_pos[0] - 64 * (x - 1),
task5_pos[1] - 48 * y,
self.add_tile(64 * (x - 6) + task5_pos[0],
48 * (y - 4) + task5_pos[1],
'indoor%d' % random.randint(1, 6), blocking=False)
for x, y in tmap: