MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / DemoReadUnattachObj

Function DemoReadUnattachObj

Descent3/demofile.cpp:1518–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518void DemoReadUnattachObj(void) {
1519 int16_t old_objnum = cf_ReadShort(Demo_cfp);
1520 int16_t unattach_objnum = Demo_obj_map[old_objnum];
1521 UnattachFromParent(&Objects[unattach_objnum]);
1522}
1523
1524// Display options and statistics after displaying a demofile
1525void DemoPostPlaybackMenu(void) {

Callers 1

DemoFrameFunction · 0.85

Calls 2

cf_ReadShortFunction · 0.85
UnattachFromParentFunction · 0.85

Tested by

no test coverage detected