From: Christian Heller Date: Thu, 12 Mar 2015 21:40:23 +0000 (+0100) Subject: Fix memory map not updating world map terrain when previously explored. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/ledger?a=commitdiff_plain;h=68f85175c4d9ae22b35ce3279652c96aa99f9c55;p=plomrogue Fix memory map not updating world map terrain when previously explored. --- diff --git a/roguelike-server b/roguelike-server index 98bee7c..6b7d8ca 100755 --- a/roguelike-server +++ b/roguelike-server @@ -530,8 +530,7 @@ def update_map_memory(t, age_map=True): for pos in [pos for pos in range(world_db["MAP_LENGTH"] ** 2) if ord_v == t["fovmap"][pos]]: t["T_MEMDEPTHMAP"][pos] = ord_0 - if ord_space == t["T_MEMMAP"][pos]: - t["T_MEMMAP"][pos] = world_db["MAP"][pos] + t["T_MEMMAP"][pos] = world_db["MAP"][pos] if age_map: age_some_memdepthmap_on_nonfov_cells() t["T_MEMTHING"] = [mt for mt in t["T_MEMTHING"]