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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user