1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 00:19:09 +00:00

(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations

This commit is contained in:
truelight
2005-02-03 17:22:35 +00:00
parent f1d4a85f59
commit 1938a73c90
6 changed files with 72 additions and 39 deletions

View File

@@ -713,6 +713,9 @@ static void FixStation(OldStation *o, int num)
if (o->xy == 0)
continue;
if (!AddBlockIfNeeded(&_station_pool, i))
error("Stations: failed loading savegame: too many stations");
s = GetStation(i);
s->xy = o->xy;