From: Christian Heller Date: Sun, 8 Mar 2015 03:12:34 +0000 (+0100) Subject: Server/py: Some more mem map handling fixes … X-Git-Tag: tce~376 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/day?a=commitdiff_plain;h=8bf4e35ebe159f9cf051c8dbfc0909d7fe5d3399;p=plomrogue Server/py: Some more mem map handling fixes … --- diff --git a/plomrogue-server.py b/plomrogue-server.py index a63eedd..a7cee78 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -1106,7 +1106,6 @@ def command_thingshere(str_y, str_x): strong_write(io_db["file_out"], "THINGS_HERE START\n") if "v" == chr(world_db["Things"][0]["fovmap"][pos]): for id in world_db["Things"]: - # write_thing_if_here() if y == world_db["Things"][id]["T_POSY"] \ and x == world_db["Things"][id]["T_POSX"] \ and not world_db["Things"][id]["carried"]: @@ -1285,7 +1284,7 @@ def command_worldactive(worldactive_string): if world_db["Things"][id]["T_LIFEPOINTS"]: build_fov_map(world_db["Things"][id]) if 0 == id: - update_map_memory(world_db["Things"][id]) + update_map_memory(world_db["Things"][id], False) world_db["WORLD_ACTIVE"] = 1