Changed fbIceLatLand so that a latitude is "icy" if it has ice or if its maximum temperature is < 0.
@@ -3512,15 +3512,13 @@ double fbIceLatSea(BODY *body,int iBody,int iLat) {
}
/**
-Is a specific latitude's sea component covered in ice?
+Is a specific latitude's land component covered in ice?
@param body Struct containing all body information and variables
@param iBody Body in question
*/
double fbIceLatLand(BODY *body,int iBody,int iLat) {
- if (body[iBody].daIceHeight[iLat] >= body[iBody].dMinIceHeight) {
- return 1;
- } else if (body[iBody].daIceHeight[iLat] == body[iBody].dMinIceHeight &&
+ if (body[iBody].daIceHeight[iLat] >= body[iBody].dMinIceHeight ||
body[iBody].daTempMaxLand[iLat] < 0) {
return 1;
}
