aboutsummaryrefslogtreecommitdiff
path: root/contrib/enumutils_describe.py
diff options
context:
space:
mode:
authorAlan Deutscher <adeutscher@gmail.com>2020-04-16 11:21:01 -0700
committerGitHub <noreply@github.com>2020-04-16 20:21:01 +0200
commite11a13c755fcc7912d54bd4732795e1d992aab0c (patch)
tree0d4395c4e1bcb4aae25acf95c147f075bfa2f01b /contrib/enumutils_describe.py
parent4bf5bec50904999efd5bb860e3cfbb8263a911de (diff)
Core/Players: Improve trade exchange calculations (#24435)
* Add some comments to Player::CanStoreItems to help me wrap my head around how the method works. * Experimental fix for incoming trade-stack problem. * Only add to stacks that aren't already full. * Use remaining_count instead of static 1. * Remove debug logging from exploration. * More uses of remaining_count for consistency. * Correct space count check * Correct overflow problem. * Remove redundant check, handled in existing for statement. * Store Item pointers in order to be able to merge in multiple incoming stacks. * Build fix - was continually working locally, but failing in CI. * Break build in order to keep PR focused on Player.cpp changes. * Adjust phrasing of how arrays are initialized. * Fix phrasing of comments to avoid sounding like a ToDo item * In the spirit of b649273d5f, rephrase an old comment to be a statement rather than a question.
Diffstat (limited to 'contrib/enumutils_describe.py')
0 files changed, 0 insertions, 0 deletions