From: Christian Heller Date: Sun, 13 Mar 2016 10:59:00 +0000 (+0100) Subject: TCE: Improve look mode cursor info. X-Git-Tag: tce~22 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/bar%20baz.html?a=commitdiff_plain;h=fb371877bc9f844e1c85161f4fef8319b9ee677f;p=plomrogue TCE: Improve look mode cursor info. --- diff --git a/plugins/client/TheCrawlingEater.py b/plugins/client/TheCrawlingEater.py index c91f16d..86115e3 100644 --- a/plugins/client/TheCrawlingEater.py +++ b/plugins/client/TheCrawlingEater.py @@ -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