COMMITTED: Prices when buying stacks
Code:
zone\client_packet.cpp (rev 1276) This addresses two issues. The first is how the client displays the wrong price for items from the temporary item list when not all of them were bought within one transaction. PEQ (link) has two reports of that issue. The second issue is more of a side benefit of the first fix, it fixes the part where buying a stack of items leads to a price that is not equal to the displayed price times the quantity. (For example, buying a flask of water. Displayed price of 1 silver. Buying a stack of 20 them then leads to a price of 2g 3c, instead of the expected 2g.) |
I saw the post on PEQ and put in a fix before I saw your post :)
I'll update it with your refinement to calculate the singleprice once (it did occur to me to do that, but I was being lazy and didn't realize it would fix the other issue you mention). |
All times are GMT -4. The time now is 06:04 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.