Hi all, I found a bug with the claim territory mechanic. Please take a look at the screenshot. I couldn't claim territory for the copper. I think this is caused by my city being directly adjacent to it.
The problem is in CvUnit::canClaimTerritory where it reads:
It should instead be:
I guess it should not have allowed me to claim the tiles directly adjacent to the upper left city either. This fixes that as well. Or maybe it should be an option for City Starts with 1 Tile?
Thanks for this great mod. It made me play CIV4 again after all these years
The problem is in CvUnit::canClaimTerritory where it reads:
Code:
/* plots adjacent to cities always belong to those cities' owners */
if (pPlot->getAdjacentCity(getOwnerINLINE()) != NULL)
Code:
if (pPlot->getAdjacentCity(pPlot->getOwnerINLINE()) != NULL)
I guess it should not have allowed me to claim the tiles directly adjacent to the upper left city either. This fixes that as well. Or maybe it should be an option for City Starts with 1 Tile?
Thanks for this great mod. It made me play CIV4 again after all these years