Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. //Cookie
  2.  
  3. #ifdef ENABLE_SPECIAL_STORAGE
  4. else if (item->IsUpgradeItem())
  5. item->AddToCharacter(owner, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
  6. else if (item->IsBook())
  7. item->AddToCharacter(owner, TItemPos(BOOK_INVENTORY, iEmptyCell));
  8. else if (item->IsStone())
  9. item->AddToCharacter(owner, TItemPos(STONE_INVENTORY, iEmptyCell));
  10. #endif
  11.  
  12. //Patrick
  13.  
  14. #ifdef ENABLE_SPECIAL_STORAGE
  15. else if (item->IsUpgradeItem())
  16. item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
  17. else if (item->IsBook())
  18. item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
  19. else if (item->IsStone())
  20. item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement