(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.

This commit is contained in:
rubidium
2009-07-16 23:02:39 +00:00
parent a007d609af
commit 9933df9d89
8 changed files with 53 additions and 51 deletions

View File

@@ -424,9 +424,6 @@ bool AfterLoadGame()
}
}
/* Update all waypoints */
if (CheckSavegameVersion(12)) FixOldWaypoints();
if (CheckSavegameVersion(84)) {
FOR_ALL_COMPANIES(c) {
c->name = CopyFromOldName(c->name_1);
@@ -447,12 +444,6 @@ bool AfterLoadGame()
t->name = CopyFromOldName(t->townnametype);
if (t->name != NULL) t->townnametype = SPECSTR_TOWNNAME_START + _settings_game.game_creation.town_name;
}
Waypoint *wp;
FOR_ALL_WAYPOINTS(wp) {
wp->name = CopyFromOldName(wp->string_id);
wp->string_id = STR_NULL;
}
}
/* From this point the old names array is cleared. */