[Freeciv-Dev] [patch #3902] Fix unit disband when cities starve

2013-05-14 Thread Marko Lindqvist
Update of patch #3902 (project freeciv):

  Status:  Ready For Test = Done   
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?3902

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


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


[Freeciv-Dev] [patch #3902] Fix unit disband when cities starve

2013-05-08 Thread Guillaume Melquiond
URL:
  http://gna.org/patch/?3902

 Summary: Fix unit disband when cities starve
 Project: Freeciv
Submitted by: silene
Submitted on: mer. 08 mai 2013 11:18:45 CEST
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

When starving a city, function city_populate disbands units whose types have a
food upkeep. But the units themselves might not have one, so disbanding them
does not help. For instance, with the civ2civ3 ruleset, overgrown cities under
democracy end up disbanding all of their units! The fix is a one-liner: change
the code so that it looks at the actual upkeep.



___

File Attachments:


---
Date: mer. 08 mai 2013 11:18:45 CEST  Name: starve.patch  Size: 573 o   By:
silene

http://gna.org/patch/download.php?file_id=17927

___

Reply to this item at:

  http://gna.org/patch/?3902

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #3902] Fix unit disband when cities starve

2013-05-08 Thread Marko Lindqvist
Update of patch #3902 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = cazfi  
 Planned Release: = 2.3.5, 2.4.0, 2.5.0,
2.6.0

___

Follow-up Comment #1:

- Version for S2_3/S2_4
- While at it, fix nearby comment typo

(file #17930, file #17931)
___

Additional Item Attachment:

File name: StarveUpkeep-S2_4.patchSize:1 KB
File name: StarveUpkeep.patch Size:1 KB


___

Reply to this item at:

  http://gna.org/patch/?3902

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


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