| 1681 | } |
| 1682 | |
| 1683 | void ItemDoppel() |
| 1684 | { |
| 1685 | if (!gbIsMultiplayer) |
| 1686 | return; |
| 1687 | |
| 1688 | static int idoppely = 16; |
| 1689 | |
| 1690 | for (int idoppelx = 16; idoppelx < 96; idoppelx++) { |
| 1691 | if (dItem[idoppelx][idoppely] != 0) { |
| 1692 | Item *i = &Items[dItem[idoppelx][idoppely] - 1]; |
| 1693 | if (i->position.x != idoppelx || i->position.y != idoppely) |
| 1694 | dItem[idoppelx][idoppely] = 0; |
| 1695 | } |
| 1696 | } |
| 1697 | |
| 1698 | idoppely++; |
| 1699 | if (idoppely == 96) |
| 1700 | idoppely = 16; |
| 1701 | } |
| 1702 | |
| 1703 | void PrintItemOil(char iDidx) |
| 1704 | { |