diff options
author | smatz <smatz@openttd.org> | 2009-08-05 14:12:39 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-05 14:12:39 +0000 |
commit | 29287ce1049cfef6ebca806998452c7c36ea93e3 (patch) | |
tree | 8b83f94a46e970922757cc809e3ba9163f6cc8d2 /src/saveload | |
parent | 5351db3703227d1a6f968901ab4d39bb437ccfca (diff) | |
download | openttd-29287ce1049cfef6ebca806998452c7c36ea93e3.tar.xz |
(svn r17069) -Fix (r17004): invalid read when converting old waypoints
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/station_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |