| 1154 | } |
| 1155 | |
| 1156 | bool player_can_hear(const coord_def& p, int hear_distance) |
| 1157 | { |
| 1158 | return !silenced(p) |
| 1159 | && !silenced(you.pos()) |
| 1160 | && you.pos().distance_from(p) <= hear_distance; |
| 1161 | } |
| 1162 | |
| 1163 | int get_teleportitis_level() |
| 1164 | { |
no test coverage detected