summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-04 14:24:23 +0000
committertruelight <truelight@openttd.org>2005-02-04 14:24:23 +0000
commit97728357e442315962c62927032f1daa97ff107d (patch)
tree9b5dccb928528ebebcb07c1edd681e786d4e0f9f /aircraft_cmd.c
parent7be92db76f0903c13de0100c5f9211ea8b779bfa (diff)
downloadopenttd-97728357e442315962c62927032f1daa97ff107d.tar.xz
(svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up to 5000
trains in one game (instead of the 240 which was the current value). Default max allowed vehicles per type is changed: Trains: 500 (old 80) Road: 500 (old 80) Ships: 200 (old 40) Aicraft: 300 (old 50) (Tnx to Celestar and Darkvater for checking the patch)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 1eefa66f6..fbde61536 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -156,7 +156,7 @@ int32 CmdBuildAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
int32 value;
Vehicle *vl[3], *v, *u, *w;
- byte unit_num;
+ UnitID unit_num;
uint tile = TILE_FROM_XY(x,y);
const AircraftVehicleInfo *avi = AircraftVehInfo(p1);
Engine *e;