Jump to content

Function RemoveItem(item)


Recommended Posts

How should i change that command in char_item.cpp (section LearnSkillByBook):

ITEM_MANAGER::instance().RemoveItem(item)

to don't remove all items in stack but only 1 item from stack (for example i have 10 skill instructions in stack, but when i click on it, all of them is removing)

 

i tryed RemoveItem(item, 1) or smth, but still dont work, please help me guys.

PS. sry for bad inglisz

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.