(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
This commit is contained in:
tron 2006-02-24 20:52:32 +00:00
parent 00a16eedcc
commit 494fd4ed34
1 changed files with 7 additions and 0 deletions

7
void.h
View File

@ -3,4 +3,11 @@
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;
}