| 419 | } |
| 420 | |
| 421 | staticfn boolean |
| 422 | known_vibrating_square_at(coordxy x, coordxy y) |
| 423 | { |
| 424 | /* note: this only acknowledges the genuine vibrating square, not |
| 425 | fake ones produced by wizard mode wishing for traps which could |
| 426 | possibly be transfered to normal play via bones file */ |
| 427 | if (invocation_pos(x, y)) { |
| 428 | struct trap *ttmp = t_at(x, y); |
| 429 | |
| 430 | return ttmp && ttmp->ttyp == VIBRATING_SQUARE && ttmp->tseen; |
| 431 | } |
| 432 | return FALSE; |
| 433 | } |
| 434 | |
| 435 | DISABLE_WARNING_UNREACHABLE_CODE |
| 436 |
no test coverage detected