(svn r16993) -Change: make the rail waypoint builder draggable
This commit is contained in:
@@ -1882,6 +1882,22 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
if (CheckSavegameVersion(124)) {
|
||||
/* The train station tile area was added */
|
||||
Waypoint *wp;
|
||||
FOR_ALL_WAYPOINTS(wp) {
|
||||
if (wp->facilities & FACIL_TRAIN) {
|
||||
wp->train_station.tile = wp->xy;
|
||||
wp->train_station.w = 1;
|
||||
wp->train_station.h = 1;
|
||||
} else {;
|
||||
wp->train_station.tile = INVALID_TILE;
|
||||
wp->train_station.w = 0;
|
||||
wp->train_station.h = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AfterLoadLabelMaps();
|
||||
|
||||
GamelogPrintDebug(1);
|
||||
|
Reference in New Issue
Block a user