home · contact · privacy
TCE: Improve look mode cursor info.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 13 Mar 2016 10:59:00 +0000 (11:59 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 13 Mar 2016 10:59:00 +0000 (11:59 +0100)
plugins/client/TheCrawlingEater.py

index c91f16dc89a58b7b668c85db2f0cb874f4b2f3bb..86115e38ee3ed429299c8f9a8e9ec0c47e8e3ec1 100644 (file)
@@ -85,8 +85,11 @@ def win_map(self):
             if world_data["look_mode"] and y == world_data["map_center"][0] \
                     and x == world_data["map_center"][1]:
                 if char == " ":
-                    char = world_data["mem_map"][pos]
-                winmap += [(char, curses.A_REVERSE), ("?", curses.A_REVERSE)]
+                    bonus = "?"
+                else:
+                    bonus = world_data["wetmap"][pos]
+                char = world_data["mem_map"][pos]
+                winmap += [(char, curses.A_REVERSE), (bonus, curses.A_REVERSE)]
                 continue
             bonus = " "
             attribute = col_unknown