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

Function thiefdead

src/steal.c:119–128  ·  view source on GitHub ↗

monster who was stealing from hero has just died */

Source from the content-addressed store, hash-verified

117
118/* monster who was stealing from hero has just died */
119void
120thiefdead(void)
121{
122 /* hero is busy taking off an item of armor which takes multiple turns */
123 gs.stealmid = 0;
124 if (ga.afternmv == stealarm) {
125 ga.afternmv = unstolenarm;
126 gn.nomovemsg = (char *) 0;
127 }
128}
129
130/* checks whether hero can be responsive to seduction attempts; similar to
131 Unaware but also includes paralysis */

Callers 1

m_detachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected