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

Function unsetup_waterlevel

src/mkmaze.c:1859–1870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857}
1858
1859staticfn void
1860unsetup_waterlevel(void)
1861{
1862 struct bubble *b, *bb;
1863
1864 /* free bubbles */
1865 for (b = svb.bbubbles; b; b = bb) {
1866 bb = b->next;
1867 free((genericptr_t) b);
1868 }
1869 svb.bbubbles = ge.ebubbles = (struct bubble *) 0;
1870}
1871
1872staticfn void
1873mk_bubble(coordxy x, coordxy y, int n)

Callers 1

save_waterlevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected