summaryrefslogtreecommitdiff
path: root/src/tree_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-21 11:23:33 +0000
committerrubidium <rubidium@openttd.org>2014-09-21 11:23:33 +0000
commit982f5a6aa2f600106f9bd292ebefcef52e6e65e6 (patch)
tree781d2ce0c99ac2261c600ef0a0b427a86ce3ffbc /src/tree_map.h
parent18b98afabdc04874942b451b281ad28be967d1ae (diff)
downloadopenttd-982f5a6aa2f600106f9bd292ebefcef52e6e65e6.tar.xz
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
Diffstat (limited to 'src/tree_map.h')
-rw-r--r--src/tree_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_map.h b/src/tree_map.h
index 105eb8dca..e614099fc 100644
--- a/src/tree_map.h
+++ b/src/tree_map.h
@@ -279,7 +279,7 @@ static inline void MakeTree(TileIndex t, TreeType type, uint count, uint growth,
_m[t].m3 = type;
_m[t].m4 = 0 << 5 | 0 << 2;
_m[t].m5 = count << 6 | growth;
- SB(_m[t].m6, 2, 4, 0);
+ SB(_me[t].m6, 2, 4, 0);
_me[t].m7 = 0;
}