| 6499 | } |
| 6500 | |
| 6501 | struct trap * |
| 6502 | t_at(coordxy x, coordxy y) |
| 6503 | { |
| 6504 | struct trap *trap = gf.ftrap; |
| 6505 | |
| 6506 | while (trap) { |
| 6507 | if (trap->tx == x && trap->ty == y) |
| 6508 | return trap; |
| 6509 | trap = trap->ntrap; |
| 6510 | } |
| 6511 | return (struct trap *) 0; |
| 6512 | } |
| 6513 | |
| 6514 | /* return number of traps of type ttyp on this level */ |
| 6515 | int |
no outgoing calls