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

Function wear_ok

src/do_wear.c:3464–3468  ·  view source on GitHub ↗

getobj callback for W command */

Source from the content-addressed store, hash-verified

3462
3463/* getobj callback for W command */
3464staticfn int
3465wear_ok(struct obj *obj)
3466{
3467 return equip_ok(obj, FALSE, FALSE);
3468}
3469
3470/* getobj callback for T command */
3471staticfn int

Callers

nothing calls this directly

Calls 1

equip_okFunction · 0.85

Tested by

no test coverage detected