--- deliantra/server/common/los.C 2008/12/21 23:29:27 1.45 +++ deliantra/server/common/los.C 2008/12/23 00:39:48 1.46 @@ -492,9 +492,8 @@ void update_all_map_los (maptile *map) { - for_all_players (pl) - if (pl->ob && pl->ob->map == map) - pl->do_los = 1; + for_all_players_on_map (pl, map) + pl->do_los = 1; } /* @@ -512,6 +511,8 @@ void update_all_los (const maptile *map, int x, int y) { + map->at (x, y).invalidate (); + for_all_players (pl) { /* Player should not have a null map, but do this