//TAC Whaling, ray
//WTP, ray we correct the logic
if (GC.getBonusInfo(eBonus).isWhalingboatWorkable())
{
// We check that it is not adjacent to coast, because that may bring it in 2 Plot reach of CityRadius
// Thus we do not want to be adjacent to any Coast - the rest is already caught by XML, since it can only be placed on Ocean
CvPlot* pAdjacentPlot;
for (int iI = 0; iI < NUM_DIRECTION_TYPES; iI++)
{
pAdjacentPlot = plotDirection(getX_INLINE(), getY_INLINE(), ((DirectionTypes)iI));
if (pAdjacentPlot != NULL && (pAdjacentPlot->getTerrainType() == TERRAIN_COAST || pAdjacentPlot->getTerrainType() == TERRAIN_SHALLOW_COAST))
{
return false;
}
}
}