Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
277
void
278
corr(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
287
void
288
makerogueghost(void)
Callers
1
roguejoin
Function · 0.85
Calls
1
rn2
Function · 0.85
Tested by
no test coverage detected