void_map.h
author celestar
Tue, 02 Jan 2007 09:54:03 +0000
branchcustombridgeheads
changeset 5632 025c3b25f1fd
parent 4666 850b5b6e4bac
permissions -rw-r--r--
(svn r7739) [cbh] - Feature: Allow the construction and removal of signals on bridge heads. Warning: the signals are only displayed, they do not work yet
/* $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].extra = 0;
}

#endif /* VOID_MAP_H */