From 8e6ec374a5d786036c6ba3229362d4afb1c598d1 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 14 Jan 2011 16:15:05 +0000 Subject: [PATCH] (svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name --- src/saveload/station_sl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp index 9e48724023..fbc9d0ac04 100644 --- a/src/saveload/station_sl.cpp +++ b/src/saveload/station_sl.cpp @@ -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. */