From ff469ab352e78f20ba13d44a90fae0eb27587d1a Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 14 Jan 2011 16:15:05 +0000 Subject: (svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name --- src/saveload/station_sl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/saveload') diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp index 9e4872402..fbc9d0ac0 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. */ -- cgit v1.2.3-70-g09d2