Permalink
Browse files

BUG: stairs aren't drawn correctly: monsters get hidden when they pass

over stairs.

Stairs must be inserted at the beginning of the objects list so that
everything is drawn alright.
  • Loading branch information...
1 parent 6c64445 commit 1b030718e33ac427ff1f964d70a9676c04a7f1fb @jstitch committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 roguebasin.py
View
@@ -566,7 +566,7 @@ def make_map():
# Create stairs at the center of the last room
stairs = Object(new_x, new_y, '<', 'stairs', libtcod.white, always_visible=True)
- objects.append(stairs)
+ objects.insert(0, stairs)
# Create a room in the map
def create_room(room):

0 comments on commit 1b03071

Please sign in to comment.