Skip to content

Commit

Permalink
Clarifying for myself
Browse files Browse the repository at this point in the history
  • Loading branch information
buntine committed Feb 14, 2016
1 parent d2a6641 commit 0910d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swervin_mervin/tunnel_entrance.py
Expand Up @@ -16,6 +16,7 @@ def render(self, window, segment):
y = s.DIMENSIONS[1] - coords["y"] - s_height
top_clip = s.DIMENSIONS[1] - segment.clip[1] - y

# Player can see the tunnel approaching.
if top_clip > 0:
e_height = int(s_height * 0.7)
surf = pygame.Surface([s_width, s_height], pygame.SRCALPHA, 32)
Expand Down

0 comments on commit 0910d8c

Please sign in to comment.