view src/void_map.h @ 6148:4b171c8e99ce draft

(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
author peter1138 <peter1138@openttd.org>
date Sat, 24 Feb 2007 23:36:40 +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 */