Summary: Gold looted when conquering city may exceed victim's
Submitted by: jtn
Submitted on: Sun Dec 29 01:41:01 2013
Severity: 2 - Minor
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Discussion Lock: Any
Operating System: Any
Planned Release: 2.4.2,2.5.0,2.6.0
The calculation of spoils in unit_enter_city() is not guaranteed to be less
than the victim's entire treasury, so their gold could end up negative.
I think it would have to be a very large city (size > 190) to trigger this,
but better safe than sorry.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list