view src/void_map.h @ 6316:8ecb7b1dea16 draft

(svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...
author peter1138 <peter1138@openttd.org>
date Fri, 16 Mar 2007 21:42:11 +0000
parents e7de87a06a18
children 60486b0b3e39
line wrap: on
line source

/* $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 */