diff options
author | smatz <smatz@openttd.org> | 2011-01-14 16:15:05 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-14 16:15:05 +0000 |
commit | ff469ab352e78f20ba13d44a90fae0eb27587d1a (patch) | |
tree | ee8cde9b7710f4c585b65b1834a90bdb2973e1ce | |
parent | ee67d10c803fb32303d94d7d3e5321a0f87cb298 (diff) | |
download | openttd-ff469ab352e78f20ba13d44a90fae0eb27587d1a.tar.xz |
(svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name
-rw-r--r-- | src/saveload/station_sl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |