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

Method ResetPos

Descent3/Inventory.cpp:1145–1145  ·  view source on GitHub ↗

resets the position pointer in the list to the beginning

Source from the content-addressed store, hash-verified

1143
1144// resets the position pointer in the list to the beginning
1145void Inventory::ResetPos(void) { pos = root; }
1146
1147// moves the position pointer to the next inventory item
1148void Inventory::NextPos(bool skip) {

Callers 2

dInven_ResetPosFunction · 0.80
PlayerSpewInventoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected