- #[set_map_score_at_thingpos(tid, 65535)
- # for tid in world_db["Things"]
- # if animate_in_fov(world_db["Things"][tid], maplength)]
- # ABOVE INLINED FOR PERFORMANCE REASONS BY BLOCK BELOW
- for Thing in world_db["Things"].values():
- if Thing["T_LIFEPOINTS"] and not Thing["carried"] and not \
- Thing == t:
- pos = Thing["T_POSY"] * maplength + Thing["T_POSX"]
- if 118 == t["fovmap"][pos]:
- set_map_score(pos, 65535)
+ [set_map_score(Thing["T_POSY"] * maplen + Thing["T_POSX"],
+ 65535) for Thing in animates_in_fov(maplen)]