1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

(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 ee67d10c80
commit ff469ab352

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. */