MCPcopy Create free account
hub / github.com/NetHack/NetHack / replshk

Function replshk

src/shk.c:279–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void
280replshk(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 */
289void

Callers 1

replmonFunction · 0.85

Calls 1

inhishopFunction · 0.85

Tested by

no test coverage detected