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

Function corr

src/extralev.c:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void
278corr(coordxy x, coordxy y)
279{
280 if (rn2(50)) {
281 levl[x][y].typ = CORR;
282 } else {
283 levl[x][y].typ = SCORR;
284 }
285}
286
287void
288makerogueghost(void)

Callers 1

roguejoinFunction · 0.85

Calls 1

rn2Function · 0.85

Tested by

no test coverage detected