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

Function set_mon_lastmove

src/dog.c:286–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286staticfn void
287set_mon_lastmove(struct monst *mtmp)
288{
289 mtmp->mlstmv = svm.moves;
290}
291
292/* record `last move time' for all monsters prior to level save so that
293 mon_arrive() can catch up for lost time when they're restored later */

Callers 1

mon_catchup_elapsed_timeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected