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

Function steed_vs_stealth

src/polyself.c:157–164  ·  view source on GitHub ↗

riding blocks stealth unless hero+steed fly */

Source from the content-addressed store, hash-verified

155
156/* riding blocks stealth unless hero+steed fly */
157void
158steed_vs_stealth(void)
159{
160 if (u.usteed && !Flying && !Levitation)
161 BStealth |= FROMOUTSIDE;
162 else
163 BStealth &= ~FROMOUTSIDE;
164}
165
166/* for changing into form that's immune to strangulation */
167staticfn void

Callers 4

mount_steedFunction · 0.85
dismount_steedFunction · 0.85
poly_steedFunction · 0.85
float_vs_flightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected