(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.

This commit is contained in:
rubidium
2009-07-16 20:15:28 +00:00
parent 8718babe90
commit 5a38d8e007
6 changed files with 15 additions and 15 deletions

View File

@@ -447,8 +447,8 @@ bool AfterLoadGame()
Waypoint *wp;
FOR_ALL_WAYPOINTS(wp) {
wp->name = CopyFromOldName(wp->string);
wp->string = STR_EMPTY;
wp->name = CopyFromOldName(wp->string_id);
wp->string_id = STR_NULL;
}
}
@@ -1005,7 +1005,7 @@ bool AfterLoadGame()
Waypoint *wp;
FOR_ALL_WAYPOINTS(wp) {
if (wp->deleted == 0) {
if (wp->delete_ctr == 0) {
const StationSpec *statspec = NULL;
if (HasBit(_m[wp->xy].m3, 4))