forked from mirror/OpenTTD
(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
This commit is contained in:
13
void_map.h
Normal file
13
void_map.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/* $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;
|
||||
}
|
Reference in New Issue
Block a user