MCPcopy Index your code
hub / github.com/NetHack/NetHack / poly_gender

Function poly_gender

src/polyself.c:2148–2157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2146}
2147
2148int
2149poly_gender(void)
2150{
2151 /* Returns gender of polymorphed player;
2152 * 0/1=same meaning as flags.female, 2=none.
2153 */
2154 if (is_neuter(gy.youmonst.data) || !humanoid(gy.youmonst.data))
2155 return 2;
2156 return flags.female;
2157}
2158
2159void
2160ugolemeffects(int damtype, int dam)

Callers 8

use_crystal_ballFunction · 0.85
Amulet_onFunction · 0.85
domonnoiseFunction · 0.85
newmanFunction · 0.85
kick_nondoorFunction · 0.85
could_seduceFunction · 0.85
beautifulFunction · 0.85
cadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected