X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=server%2Fupdate_map_memory.py;h=003e0cf54778f8f16aeb1fd65f58b2cace242961;hb=10152e3ef6bac7e1fbc381cc986c45eebccbcc32;hp=cd5323c0b6e6e0c3f06429ca8c232a4f7947e1af;hpb=f81819772b0edde6d167687dfbbf44ec7a28da7d;p=plomrogue
diff --git a/server/update_map_memory.py b/server/update_map_memory.py
index cd5323c..003e0cf 100644
--- a/server/update_map_memory.py
+++ b/server/update_map_memory.py
@@ -56,5 +56,4 @@ def update_map_memory(t, age_map=True):
if not world_db["Things"][id]["carried"]
if not world_db["ThingTypes"][world_db["Things"][id]["T_TYPE"]]
["TT_LIFEPOINTS"]
- if ord_v == t["fovmap"][(world_db["Things"][id]["T_POSY"] * maplength)
- + world_db["Things"][id]["T_POSX"]]]
+ if ord_v == t["fovmap"][world_db["Things"][id]["pos"]]]