Increased z component of door to make it seem more realistic when moving on its sides and entering.

This commit is contained in:
Sakse Dalum 2012-08-12 20:46:44 +02:00
parent 4c2944a087
commit c04deececf
1 changed files with 2 additions and 1 deletions

View File

@ -240,7 +240,8 @@ class ColorWell(Block):
class Door(Block):
def __init__(self, level, x, y, movable=False, setting=False):
self.__dict__.update(locals())
worldobject.WorldObject.__init__(self, level, x, y, movable=movable)
worldobject.WorldObject.__init__(self, level, x, y,
z=32, movable=movable)
self.frame = 0
self.anim_speed = 15