diff options
author | smatz <smatz@openttd.org> | 2009-08-09 14:40:34 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-09 14:40:34 +0000 |
commit | e707c824126ff8de5903d7c94f332d670529318a (patch) | |
tree | 9e51369165d8d8bfd6c03cc48386349886c0568f /src/tgp.cpp | |
parent | 05a65dcc126d749e569562412c9b38ca6439eaf3 (diff) | |
download | openttd-e707c824126ff8de5903d7c94f332d670529318a.tar.xz |
(svn r17131) -Codechange: apply coding style to some switch statements
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r-- | src/tgp.cpp | 2 |
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 */ |