| 277 | } |
| 278 | |
| 279 | void |
| 280 | replshk(struct monst *mtmp, struct monst *mtmp2) |
| 281 | { |
| 282 | svr.rooms[ESHK(mtmp2)->shoproom - ROOMOFFSET].resident = mtmp2; |
| 283 | if (inhishop(mtmp) && *u.ushops == ESHK(mtmp)->shoproom) { |
| 284 | ESHK(mtmp2)->bill_p = &(ESHK(mtmp2)->bill[0]); |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | /* do shopkeeper specific structure munging -dlc */ |
| 289 | void |