Fixed ugly tile drawing bug.
This commit is contained in:
parent
e0ebc48f0b
commit
2abe70836f
|
@ -92,8 +92,8 @@ class Level1(level.Level):
|
||||||
for y in range(task5_size[1]):
|
for y in range(task5_size[1]):
|
||||||
# if not (x, y) in tmap:
|
# if not (x, y) in tmap:
|
||||||
# continue
|
# continue
|
||||||
self.add_tile(task5_pos[0] - 64 * (x - 1),
|
self.add_tile(64 * (x - 6) + task5_pos[0],
|
||||||
task5_pos[1] - 48 * y,
|
48 * (y - 4) + task5_pos[1],
|
||||||
'indoor%d' % random.randint(1, 6), blocking=False)
|
'indoor%d' % random.randint(1, 6), blocking=False)
|
||||||
|
|
||||||
for x, y in tmap:
|
for x, y in tmap:
|
||||||
|
|
Loading…
Reference in New Issue