Ahh, now I remember:
Code:
int_f CTC_IsSeaTerrain(location_t theLoc){ location_t tmpLoc; tmpLoc=theLoc; if ((9 < TerrainType(tmpLoc) && TerrainType(tmpLoc) < 17) || TerrainType(tmpLoc)==22 || TerrainType(tmpLoc) ==23 ){ return 1; } return 0; }
Comment