Loobinex / keeperfx-unofficial

KeeperFX - Unofficial release
60 stars 7 forks source link

Dropping gold in full treasure room makes it impossible to pick up the excess gold #150

Closed Loobinex closed 4 years ago

Loobinex commented 4 years ago

When you drop gold in a full treasure room, a small gold pile appears on top of the gold horde. You used to be able to pick that up again to drop somewhere more useful. However, you can now only pick up the horde. When the horde is gone, you can pick up the gold pile.

Loobinex commented 4 years ago

I've been told the bug has been introduced between versions 2035 and 2037

Loobinex commented 4 years ago

I've been told correctly, the issue is introduced here: https://github.com/Loobinex/keeperfx-unofficial/blob/master/src/thing_list.c#L2364 Changing it to if (n > *maximizer) Will fix this issue, but break the other.