mirror of https://github.com/OpenTTD/OpenTTD
(svn r17682) -Codechange: remove erroneous space before some commas
parent
9c6157c578
commit
e9624fe0cc
|
@ -6070,7 +6070,7 @@ static void ActivateOldShore()
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 1, SPR_SHORE_BASE + 1); // SLOPE_W
|
DupSprite(SPR_ORIGINALSHORE_START + 1, SPR_SHORE_BASE + 1); // SLOPE_W
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 2, SPR_SHORE_BASE + 2); // SLOPE_S
|
DupSprite(SPR_ORIGINALSHORE_START + 2, SPR_SHORE_BASE + 2); // SLOPE_S
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 6, SPR_SHORE_BASE + 3); // SLOPE_SW
|
DupSprite(SPR_ORIGINALSHORE_START + 6, SPR_SHORE_BASE + 3); // SLOPE_SW
|
||||||
DupSprite(SPR_ORIGINALSHORE_START , SPR_SHORE_BASE + 4); // SLOPE_E
|
DupSprite(SPR_ORIGINALSHORE_START + 0, SPR_SHORE_BASE + 4); // SLOPE_E
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 4, SPR_SHORE_BASE + 6); // SLOPE_SE
|
DupSprite(SPR_ORIGINALSHORE_START + 4, SPR_SHORE_BASE + 6); // SLOPE_SE
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 3, SPR_SHORE_BASE + 8); // SLOPE_N
|
DupSprite(SPR_ORIGINALSHORE_START + 3, SPR_SHORE_BASE + 8); // SLOPE_N
|
||||||
DupSprite(SPR_ORIGINALSHORE_START + 7, SPR_SHORE_BASE + 9); // SLOPE_NW
|
DupSprite(SPR_ORIGINALSHORE_START + 7, SPR_SHORE_BASE + 9); // SLOPE_NW
|
||||||
|
|
|
@ -538,7 +538,7 @@ static void HeightMapAdjustWaterLevel(amplitude_t water_percent, height_t h_max_
|
||||||
* Transform the height map into new (normalized) height map:
|
* 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_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
|
* 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) {
|
FOR_ALL_TILES_IN_HEIGHT(h) {
|
||||||
/* Transform height from range h_water_level..h_max into 0..h_max_new range */
|
/* Transform height from range h_water_level..h_max into 0..h_max_new range */
|
||||||
|
|
Loading…
Reference in New Issue