(svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name

This commit is contained in:
smatz 2011-01-14 16:15:05 +00:00
parent 5a3a965e85
commit 8e6ec374a5

View File

@ -64,6 +64,7 @@ void MoveBuoysToWaypoints()
Town *town = st->town;
StringID string_id = st->string_id;
char *name = st->name;
st->name = NULL;
Date build_date = st->build_date;
/* Delete the station, so we can make it a real waypoint. */