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

Function picking_lock

src/lock.c:16–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14staticfn void chest_shatter_msg(struct obj *);
15
16boolean
17picking_lock(coordxy *x, coordxy *y)
18{
19 if (go.occupation == picklock) {
20 *x = u.ux + u.dx;
21 *y = u.uy + u.dy;
22 return TRUE;
23 } else {
24 *x = *y = 0;
25 return FALSE;
26 }
27}
28
29boolean
30picking_at(coordxy x, coordxy y)

Callers 1

watch_on_dutyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected