summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/saveload/station_sl.cpp2
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);
}
}