Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ mon_owns
Function
mon_owns
src/shk.c:5899–5905 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5897
}
5898
5899
staticfn char *
5900
mon_owns(char *buf, struct obj *obj)
5901
{
5902
if (obj->where == OBJ_MINVENT)
5903
return strcpy(buf, s_suffix(y_monnam(obj->ocarry)));
5904
return (char *) 0;
5905
}
5906
5907
staticfn const char *
5908
cad(
Callers
1
shk_your
Function · 0.85
Calls
2
s_suffix
Function · 0.85
y_monnam
Function · 0.85
Tested by
no test coverage detected