(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)

This commit is contained in:
rubidium
2009-05-26 15:46:24 +00:00
parent 2a5a8f395c
commit e3c5bc8d2e
15 changed files with 30 additions and 36 deletions

View File

@@ -302,7 +302,7 @@ 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_IMPROVED: i = _settings_game.game_creation.landscape == LT_ARCTIC ? 4 : 2; break;
default: NOT_REACHED(); return;
default: NOT_REACHED();
}
total = ScaleByMapSize(1000);