Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Cookie
- #ifdef ENABLE_SPECIAL_STORAGE
- else if (item->IsUpgradeItem())
- item->AddToCharacter(owner, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
- else if (item->IsBook())
- item->AddToCharacter(owner, TItemPos(BOOK_INVENTORY, iEmptyCell));
- else if (item->IsStone())
- item->AddToCharacter(owner, TItemPos(STONE_INVENTORY, iEmptyCell));
- #endif
- //Patrick
- #ifdef ENABLE_SPECIAL_STORAGE
- else if (item->IsUpgradeItem())
- item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
- else if (item->IsBook())
- item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
- else if (item->IsStone())
- item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement