* Create a monster in a room. */
| 1849 | * Create a monster in a room. |
| 1850 | */ |
| 1851 | staticfn int |
| 1852 | noncoalignment(aligntyp alignment) |
| 1853 | { |
| 1854 | int k; |
| 1855 | |
| 1856 | k = rn2(2); |
| 1857 | if (!alignment) |
| 1858 | return (k ? -1 : 1); |
| 1859 | return (k ? -alignment : 0); |
| 1860 | } |
| 1861 | |
| 1862 | /* attempt to screen out locations where a mimic-as-boulder shouldn't occur */ |
| 1863 | staticfn boolean |
no test coverage detected