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

Function rest_bubbles

src/restore.c:1368–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1366staticfn
1367#endif
1368void
1369rest_bubbles(NHFILE *nhfp)
1370{
1371 xint8 bbubbly;
1372
1373 /* whether or not the Plane of Water's air bubbles or Plane of Air's
1374 clouds are present is recorded during save so that we don't have to
1375 know what level is being restored */
1376 bbubbly = 0;
1377 Sfi_xint8(nhfp, &bbubbly, "bubbles-bbubbly");
1378#if 0
1379 if (nhfp->structlevel)
1380 xxread(nhfp->fd, &bbubbly, sizeof bbubbly);
1381#endif
1382 if (bbubbly)
1383 restore_waterlevel(nhfp);
1384}
1385
1386#ifndef SFCTOOL
1387staticfn

Callers 1

getlevFunction · 0.85

Calls 1

restore_waterlevelFunction · 0.85

Tested by

no test coverage detected