URL:
<http://gna.org/bugs/?20452>
Summary: Unit can convert in bad circumstances
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 24 Jan 2013 01:39:46 AM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.4, 2.4.0, 2.5.0
_______________________________________________________
Details:
Unit can be converted to another type even when
1) target unit cannot exist in the tile
2) target unit has not enough space for the cargo
Fix for these attached.
This makes cargo space check equivalent to what's being done in case of unit
upgrade. But this is still buggy for both upgrade and convert case; there's no
check for cargo type. If there's space for 2 infantry units, that pass as
transport capacity for 2 aircraft.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 24 Jan 2013 01:39:46 AM EET Name: ConvertTerrainCheck.patch Size:
776B By: cazfi
<http://gna.org/bugs/download.php?file_id=17007>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20452>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev