Last minute scare. In testing I captured a badly located enemy fort and decided to abandon it. This did not work. The override in the freecol ruleset to allow abandoning colonies with stockades only applies to stockades, not forts or fortresses. On reflection this is not that surprising, as the inheritance from stockade to fort happens when we read the classic ruleset, and by the time the freecol rules are read and the stockade override occurs, fort and fortress are defined with their own copies of the features inherited from stockade.
A quick check reveals that this has been broken since at least 0.10.5-release. It is now fixed brutally in svn.10449, just in time for 0.10.7. I am not sure we can do this much better. We could explicitly propagate "delete" operations to "extends" targets, but while we have that information in the case of building types, I am not sure we record it consistently for all FreeColGameObjectTypes. Fortunately, "delete" is a rare operation. Cheers, Mike Pope
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412
_______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers