File diff r13164:565fc06638f2 → r13165:024ce8aa50e8
src/tgp.cpp
Show inline comments
 
@@ -538,7 +538,7 @@ static void HeightMapAdjustWaterLevel(am
 
	 * Transform the height map into new (normalized) height map:
 
	 *   values from range: h_min..h_water_level will become negative so it will be clamped to 0
 
	 *   values from range: h_water_level..h_max are transformed into 0..h_max_new
 
	 * , where h_max_new is 4, 8, 12 or 16 depending on terrain type (very flat, flat, hilly, mountains)
 
	 *   where h_max_new is 4, 8, 12 or 16 depending on terrain type (very flat, flat, hilly, mountains)
 
	 */
 
	FOR_ALL_TILES_IN_HEIGHT(h) {
 
		/* Transform height from range h_water_level..h_max into 0..h_max_new range */