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

Function ItemDoppel

Source/items.cpp:2425–2442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2423}
2424
2425void ItemDoppel()
2426{
2427 int idoppelx;
2428 ItemStruct *i;
2429
2430 if (gbMaxPlayers != 1) {
2431 for (idoppelx = 16; idoppelx < 96; idoppelx++) {
2432 if (dItem[idoppelx][idoppely]) {
2433 i = &item[dItem[idoppelx][idoppely] - 1];
2434 if (i->_ix != idoppelx || i->_iy != idoppely)
2435 dItem[idoppelx][idoppely] = 0;
2436 }
2437 }
2438 idoppely++;
2439 if (idoppely == 96)
2440 idoppely = 16;
2441 }
2442}
2443
2444void ProcessItems()
2445{

Callers 1

ProcessItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected