Hi Red,
I am getting a crash to desktop that is connected to this bit of your code.
it talks about there being no condition, break always...
It could also be connected to a bit of python that I have, that one only allows certain civs to found cities on certain features, and 2 builds a building in a city that founds on that feature.
So far I have only encountered it with one of these specific civs, it happens when I click found city button, but I am not sure if it always happens, as I was able to found an inital city...
So I am uncertain what the change in condition might be that allows it to found sometiumes and not every time, in the save I am working from it happens everytime i go to found this particular city site...
I don't really know what the problem or soultion is, but as it showed your code snippet I thought I would start here..
Thanks for any help you can offer!
I am getting a crash to desktop that is connected to this bit of your code.
Spoiler :
Code:
void CvPlot::updateCulture(bool bBumpUnits, bool bUpdatePlotGroups)
{
// Super Forts begin *culture*
if (!isCity(true))
// if (!isCity()) Original Code
// Super Forts end
{
setOwner(calculateCulturalOwner(), bBumpUnits, bUpdatePlotGroups);
}
// Super Forts begin *culture* (This prevents forts from keeping the culture of dead players)
else if (getOwnerINLINE() != NO_PLAYER)
{
if(!GET_PLAYER(getOwnerINLINE()).isAlive())
{
setOwner(calculateCulturalOwner(), bBumpUnits, bUpdatePlotGroups);
}
}
// Super Forts end
}
it talks about there being no condition, break always...
It could also be connected to a bit of python that I have, that one only allows certain civs to found cities on certain features, and 2 builds a building in a city that founds on that feature.
So far I have only encountered it with one of these specific civs, it happens when I click found city button, but I am not sure if it always happens, as I was able to found an inital city...
So I am uncertain what the change in condition might be that allows it to found sometiumes and not every time, in the save I am working from it happens everytime i go to found this particular city site...
I don't really know what the problem or soultion is, but as it showed your code snippet I thought I would start here..
Thanks for any help you can offer!