MCPcopy Create free account
hub / github.com/diasurgical/devilution / NextItemRecord

Function NextItemRecord

Source/items.cpp:4015–4027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4013}
4014
4015void NextItemRecord(int i)
4016{
4017 gnNumGetRecords--;
4018
4019 if (gnNumGetRecords == 0) {
4020 return;
4021 }
4022
4023 itemrecord[i].dwTimestamp = itemrecord[gnNumGetRecords].dwTimestamp;
4024 itemrecord[i].nSeed = itemrecord[gnNumGetRecords].nSeed;
4025 itemrecord[i].wCI = itemrecord[gnNumGetRecords].wCI;
4026 itemrecord[i].nIndex = itemrecord[gnNumGetRecords].nIndex;
4027}
4028
4029void SetItemRecord(int nSeed, WORD wCI, int nIndex)
4030{

Callers 2

GetItemRecordFunction · 0.85
PutItemRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected