home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Eat on every wall attack, not just on successful ones.
[plomrogue]
/
server
/
update_map_memory.py
diff --git
a/server/update_map_memory.py
b/server/update_map_memory.py
index cd5323c0b6e6e0c3f06429ca8c232a4f7947e1af..003e0cf54778f8f16aeb1fd65f58b2cace242961 100644
(file)
--- 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 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"]]]