home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8967ea7
)
Fix memory map not updating world map terrain when previously explored.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Mar 2015 21:40:23 +0000
(22:40 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Mar 2015 21:40:23 +0000
(22:40 +0100)
roguelike-server
patch
|
blob
|
history
diff --git
a/roguelike-server
b/roguelike-server
index 98bee7c6b8c431fd98d40a705ff7450e80027528..6b7d8ca075e001724f72e15baec3d449911a9fc0 100755
(executable)
--- 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"]