MootPoint
Chieftain
So I just started looking at the code diffs in patch J, and I'm curious about this new assert marking the memory leak of CvDiploParameters in AI_doPeace(). From what I see in the original BTS code, this is also the way they handle it pretty much everywhere. So either the app leaks everywhere when one of these classes is needed, or else the host is doing the cleanup on the other side (which is really bad design, if that's the case - the lib that executes the allocation should also be responsible for doing the cleanup.)
So, was this assert added because it was a possible problem while hunting for memory leaks? Or is it bad enough that it needs fixing asap? (Has anyone put a trace to figure out how many of these are actually being allocated? Maybe there's not enough of them to be overly concerned about... )
So, was this assert added because it was a possible problem while hunting for memory leaks? Or is it bad enough that it needs fixing asap? (Has anyone put a trace to figure out how many of these are actually being allocated? Maybe there's not enough of them to be overly concerned about... )

All I've got left is to decide whether or not to put in a check allowing the unit to take damage if it is an enemy, or if the fort is unowned, and getting the effect to work. As it is now it is fine though. 
Does it do features, or improvements? I really want to shift some feature yields (not just health, but hammers/commerce/more) over to civilizations, but it's not in the CivilizationInfos nor the Schema.
... not the best idea I ever had ...
. I think the atRange function is just very specific about what will and will not work. I know the for i in range(pBestPlot.getNumUnits()): line does not work with it, but even removing it the code fails to run. Tried with and without it.