summaryrefslogtreecommitdiff
path: root/industry_map.h
blob: c3a8d0b1c82478ef13686641c84e6d9aeae95de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $Id$ */

#include "industry.h"
#include "macros.h"
#include "tile.h"


static inline uint GetIndustryIndex(TileIndex t)
{
	return _m[t].m2;
}

static inline Industry* GetIndustryByTile(TileIndex t)
{
	return GetIndustry(GetIndustryIndex(t));
}