(svn r19373) -Fix (r19372): Missing variable declaration.

pull/155/head
terkhen 14 years ago
parent 6005227ac9
commit f950829b3c

@ -254,7 +254,7 @@ static CommandCost RemoveShiplift(TileIndex tile, DoCommandFlag flags)
}
/* make sure no vehicle is on the tile. */
ret = EnsureNoVehicleOnGround(tile);
CommandCost ret = EnsureNoVehicleOnGround(tile);
if (ret.Succeeded()) ret = EnsureNoVehicleOnGround(tile + delta);
if (ret.Succeeded()) ret = EnsureNoVehicleOnGround(tile - delta);
ret.SetGlobalErrorMessage();

Loading…
Cancel
Save