Increased z component of door to make it seem more realistic when moving on its sides and entering.
This commit is contained in:
parent
4c2944a087
commit
c04deececf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue