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

Function DeleteItem

Source/items.cpp:2417–2423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2415}
2416
2417void DeleteItem(int ii, int i)
2418{
2419 itemavail[MAXITEMS - numitems] = ii;
2420 numitems--;
2421 if (numitems > 0 && i != numitems)
2422 itemactive[i] = itemactive[numitems];
2423}
2424
2425void ItemDoppel()
2426{

Callers 4

DeltaLoadLevelFunction · 0.85
InvGetItemFunction · 0.85
AutoGetItemFunction · 0.85
SyncGetItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected