… | |
… | |
1828 | /* Wasn't detected above, so still hidden */ |
1828 | /* Wasn't detected above, so still hidden */ |
1829 | return 0; |
1829 | return 0; |
1830 | } |
1830 | } |
1831 | |
1831 | |
1832 | /* determine if op stands in a lighted square. This is not a very |
1832 | /* determine if op stands in a lighted square. This is not a very |
1833 | * intellegent algorithm. For one thing, we ignore los here, SO it |
1833 | * intelligent algorithm. For one thing, we ignore los here, SO it |
1834 | * is possible for a bright light to illuminate a player on the |
1834 | * is possible for a bright light to illuminate a player on the |
1835 | * other side of a wall (!). |
1835 | * other side of a wall (!). |
1836 | */ |
1836 | */ |
1837 | int |
1837 | int |
1838 | stand_in_light (object *op) |
1838 | stand_in_light (object *op) |