(svn r3598) -Fix: suppress invalid warning by assigning value to variable

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
truelight 19 years ago
parent ea73b46684
commit 0068f19605

@ -2004,7 +2004,7 @@ uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y)
UnitID GetFreeUnitNumber(byte type)
{
UnitID unit, max;
UnitID unit, max = 0;
const Vehicle *u;
static bool *cache = NULL;
static UnitID gmax = 0;

Loading…
Cancel
Save