mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-22 20:05:40 +01:00
(svn r3598) -Fix: suppress invalid warning by assigning value to variable
This commit is contained in:
parent
ea73b46684
commit
0068f19605
@ -2004,7 +2004,7 @@ uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y)
|
|||||||
|
|
||||||
UnitID GetFreeUnitNumber(byte type)
|
UnitID GetFreeUnitNumber(byte type)
|
||||||
{
|
{
|
||||||
UnitID unit, max;
|
UnitID unit, max = 0;
|
||||||
const Vehicle *u;
|
const Vehicle *u;
|
||||||
static bool *cache = NULL;
|
static bool *cache = NULL;
|
||||||
static UnitID gmax = 0;
|
static UnitID gmax = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user