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

Function can_grapple_location

src/apply.c:3700–3704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3698}
3699
3700staticfn boolean
3701can_grapple_location(coordxy x, coordxy y)
3702{
3703 return (isok(x, y) && cansee(x, y) && distu(x, y) <= grapple_range());
3704}
3705
3706staticfn void
3707display_grapple_positions(boolean on_off)

Callers 1

Calls 2

isokFunction · 0.85
grapple_rangeFunction · 0.85

Tested by

no test coverage detected