x,y is strictly inside shop */
| 565 | |
| 566 | /* x,y is strictly inside shop */ |
| 567 | char |
| 568 | inside_shop(coordxy x, coordxy y) |
| 569 | { |
| 570 | char rno; |
| 571 | |
| 572 | rno = levl[x][y].roomno; |
| 573 | if ((rno < ROOMOFFSET) || levl[x][y].edge || !IS_SHOP(rno - ROOMOFFSET)) |
| 574 | rno = NO_ROOM; |
| 575 | return rno; |
| 576 | } |
| 577 | |
| 578 | void |
| 579 | u_left_shop(char *leavestring, boolean newlev) |
no outgoing calls
no test coverage detected