src/void_map.h
author maedhros
Mon, 16 Apr 2007 10:59:35 +0000
changeset 6472 f1e70dc23fac
parent 6423 8e10e79e0fd1
child 6489 511474c82dd3
permissions -rw-r--r--
(svn r9648) -Codechange: Use HASBIT directly rather than shifting and then using it on the first bit.
/* $Id$ */

/** @file void_map.h */

#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;
	_me[t].m7 = 0;
}

#endif /* VOID_MAP_H */