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

Function pm_good_location

src/sp_lev.c:1310–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1308}
1309
1310boolean
1311pm_good_location(coordxy x, coordxy y, struct permonst *pm)
1312{
1313 return is_ok_location(x, y, pm_to_humidity(pm));
1314}
1315
1316staticfn unpacked_coord
1317get_unpacked_coord(long loc, int defhumidity)

Callers 1

priestiniFunction · 0.85

Calls 2

is_ok_locationFunction · 0.85
pm_to_humidityFunction · 0.85

Tested by

no test coverage detected