the #wizdetect command - detect secret doors, traps, hidden monsters */
| 226 | |
| 227 | /* the #wizdetect command - detect secret doors, traps, hidden monsters */ |
| 228 | int |
| 229 | wiz_detect(void) |
| 230 | { |
| 231 | if (wizard) |
| 232 | (void) findit(); |
| 233 | else |
| 234 | pline(unavailcmd, ecname_from_fn(wiz_detect)); |
| 235 | return ECMD_OK; |
| 236 | } |
| 237 | |
| 238 | RESTORE_WARNING_FORMAT_NONLITERAL |
| 239 |
nothing calls this directly
no test coverage detected