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

Function restore_killers

src/end.c:1779–1790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1777#endif /* !SFCTOOL */
1778
1779void
1780restore_killers(NHFILE *nhfp)
1781{
1782 struct kinfo *kptr;
1783
1784 for (kptr = &svk.killer; kptr != (struct kinfo *) 0; kptr = kptr->next) {
1785 Sfi_kinfo(nhfp, kptr, "kinfo");
1786 if (kptr->next) {
1787 kptr->next = (struct kinfo *) alloc(sizeof (struct kinfo));
1788 }
1789 }
1790}
1791
1792staticfn int
1793wordcount(char *p)

Callers 1

restgamestateFunction · 0.85

Calls 1

allocFunction · 0.70

Tested by

no test coverage detected