From 29287ce1049cfef6ebca806998452c7c36ea93e3 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 5 Aug 2009 14:12:39 +0000 Subject: (svn r17069) -Fix (r17004): invalid read when converting old waypoints --- src/saveload/station_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload') diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp index cfc49aeea..e1b547009 100644 --- a/src/saveload/station_sl.cpp +++ b/src/saveload/station_sl.cpp @@ -80,7 +80,7 @@ void MoveBuoysToWaypoints() wp->facilities |= FACIL_DOCK; } - wp->rect.BeforeAddTile(st->xy, StationRect::ADD_FORCE); + wp->rect.BeforeAddTile(xy, StationRect::ADD_FORCE); } } -- cgit v1.2.3-70-g09d2