summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
committersmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
commite707c824126ff8de5903d7c94f332d670529318a (patch)
tree9e51369165d8d8bfd6c03cc48386349886c0568f /src/tgp.cpp
parent05a65dcc126d749e569562412c9b38ca6439eaf3 (diff)
downloadopenttd-e707c824126ff8de5903d7c94f332d670529318a.tar.xz
(svn r17131) -Codechange: apply coding style to some switch statements
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r--src/tgp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index c12fb5dd8..f8137f64f 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -439,7 +439,7 @@ static void HeightMapSineTransform(height_t h_min, height_t h_max)
/* Transform height into 0..1 space */
fheight = (double)(*h - h_min) / (double)(h_max - h_min);
/* Apply sine transform depending on landscape type */
- switch(_settings_game.game_creation.landscape) {
+ switch (_settings_game.game_creation.landscape) {
case LT_TOYLAND:
case LT_TEMPERATE:
/* Move and scale 0..1 into -1..+1 */