| 2423 | } |
| 2424 | |
| 2425 | void 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 | |
| 2444 | void ProcessItems() |
| 2445 | { |