1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

Codechange: Use of proper FALLTHROUGH macro

This commit is contained in:
Sylvain Devidal
2018-07-08 22:31:15 +02:00
committed by Susan
parent 53d2153844
commit a2dd8ed419

View File

@@ -386,7 +386,8 @@ void GenerateTrees()
switch (_settings_game.game_creation.tree_placer) {
case TP_ORIGINAL: i = _settings_game.game_creation.landscape == LT_ARCTIC ? 15 : 6; break;
case TP_FOREST: /* FALL THROUGH */
case TP_FOREST:
FALLTHROUGH;
case TP_IMPROVED: i = _settings_game.game_creation.landscape == LT_ARCTIC ? 4 : 2; break;
default: NOT_REACHED();
}