OpenTTD-patches/void.h
tron 494fd4ed34 (svn r3669) Really wipe all data when making a void tile
Thanks to Belugas, egladil and Rubidium for their inspiration and hard work, which all this stuff is based on
2006-02-24 20:52:32 +00:00

14 lines
198 B
C

/* $Id$ */
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;
}