From 97728357e442315962c62927032f1daa97ff107d Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 4 Feb 2005 14:24:23 +0000 Subject: (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) --- aircraft_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aircraft_cmd.c') 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; -- cgit v1.2.3-54-g00ecf