diff options
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r-- | src/saveload/afterload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 3d5af563c..9d1537a7d 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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)) |