src/void_map.h
author peter1138
Sat, 10 Mar 2007 09:23:33 +0000
changeset 6606 2e867a1c6b7f
parent 5847 9ce114e1d90d
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
/* $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 */