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

Function itimeout_incr

src/potion.c:67–71  ·  view source on GitHub ↗

increment `old' by `incr' and force result to be valid intrinsic timeout */

Source from the content-addressed store, hash-verified

65
66/* increment `old' by `incr' and force result to be valid intrinsic timeout */
67staticfn long
68itimeout_incr(long old, int incr)
69{
70 return itimeout((old & TIMEOUT) + (long) incr);
71}
72
73/* set the timeout field of intrinsic `which' */
74void

Callers 6

incr_itimeoutFunction · 0.85
peffect_hallucinationFunction · 0.85
peffect_boozeFunction · 0.85
peffect_confusionFunction · 0.85
peffect_blindnessFunction · 0.85
potionbreatheFunction · 0.85

Calls 1

itimeoutFunction · 0.85

Tested by

no test coverage detected