Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent item::charges_per_weight to return overflowed values (#79422)
* fix aim query amount showing wrong amount * Prevent overflowing from charges_per_weight() and charges_per_volume() * Update src/advanced_inv.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/item.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/item.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/item.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * retest --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information