URL:
  <http://gna.org/bugs/?21389>

                 Summary: Gold looted when conquering city may exceed victim's
treasury
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sun Dec 29 01:41:01 2013
                Category: None
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: jtn
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 2.4.2,2.5.0,2.6.0

    _______________________________________________________

Details:

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:

  <http://gna.org/bugs/?21389>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to