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

Function ClearRoomChanges

Descent3/room.cpp:1269–1273  ·  view source on GitHub ↗

Clears the data for room changes

Source from the content-addressed store, hash-verified

1267
1268// Clears the data for room changes
1269void ClearRoomChanges() {
1270 for (int i = 0; i < MAX_ROOM_CHANGES; i++) {
1271 Room_changes[i].used = 0;
1272 }
1273}
1274
1275// Returns index of room change allocatd, else -1 on error
1276int AllocRoomChange() {

Callers 1

StartLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected