… | |
… | |
547 | void |
547 | void |
548 | update_all_los (const maptile *map, int x, int y) |
548 | update_all_los (const maptile *map, int x, int y) |
549 | { |
549 | { |
550 | player *pl; |
550 | player *pl; |
551 | |
551 | |
552 | for (pl = first_player; pl != NULL; pl = pl->next) |
552 | for (pl = first_player; pl; pl = pl->next) |
553 | { |
553 | { |
554 | /* Player should not have a null map, but do this |
554 | /* Player should not have a null map, but do this |
555 | * check as a safety |
555 | * check as a safety |
556 | */ |
556 | */ |
557 | if (!pl->ob->map) |
557 | if (!pl->ob->map) |