From 68f85175c4d9ae22b35ce3279652c96aa99f9c55 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 12 Mar 2015 22:40:23 +0100
Subject: [PATCH] Fix memory map not updating world map terrain when previously
 explored.

---
 roguelike-server | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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"]
-- 
2.30.2