src/void_map.h
author bjarni
Tue, 30 Jan 2007 17:19:58 +0000
changeset 6122 33ce525e85ff
parent 5847 9ce114e1d90d
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r8460) -Fix (r8455): the build train window put locomotives and wagons in appeantly random order
/* $Id$ */

#ifndef VOID_MAP_H
#define VOID_MAP_H

static inline void MakeVoid(TileIndex t)
{
	SetTileType(t, MP_VOID);
	SetTileHeight(t, 0);
	_m[t].m1 = 0;
	_m[t].m2 = 0;
	_m[t].m3 = 0;
	_m[t].m4 = 0;
	_m[t].m5 = 0;
	_m[t].m6 = 0;
}

#endif /* VOID_MAP_H */