1
0
Fork 0

Codechange: Use of proper FALLTHROUGH macro

pull/12712/head
Sylvain Devidal 2018-07-08 22:31:15 +02:00 committed by Susan
parent 53d2153844
commit a2dd8ed419
1 changed files with 2 additions and 1 deletions

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();
}