@@ -54,13 +54,13 @@ Station *ComposeWaypointStation(TileInde
/* instead of 'static Station stat' use byte array to avoid Station's destructor call upon exit. As
* a side effect, the station is not constructed now. */
static byte stat_raw[sizeof(Station)];
static Station &stat = *(Station*)stat_raw;
stat.train_tile = stat.xy = wp->xy;
stat.town = Town::Get(wp->town_index);
stat.town = wp->town;
stat.build_date = wp->build_date;
return &stat;
}
/**