Open dutchie1289 opened 9 years ago
Here's the fix, I've made a commit in my repository
https://github.com/Nottinghster/OTServ_SVN-0.6.4/commit/f5f09b82a062f9c1b75dcd818bd4426242447585
It's customary to send a pull request so it can be properly reviewed.
Your commit also includes loads of unrelated formatting changes. They seem good, but should not be mixed up into one change. It would be super nice if you would split it up into multiple commits, so we can discuss each separately (and so future readers know what each change was about).
If you want a npc to sell a "vial of oil", you can only see "vial" in the trade window. It should state: "vial of oil".
It should be like this:
if item->subtype > 0 { vial of oil } else{ vial }