summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-01-11 02:05:13 +0000
committerbelugas <belugas@openttd.org>2007-01-11 02:05:13 +0000
commit5f9c89173498401fca62af1623db357f6f34342b (patch)
tree35400c488d5fac84250bbc2df5031789ffa75050 /src/landscape.cpp
parent2ea3531c240f19330464e6babcdc0caaed0fad67 (diff)
downloadopenttd-5f9c89173498401fca62af1623db357f6f34342b.tar.xz
(svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
Only doc landscape_grid.html has been updated, landscape.html will be done latter. -CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r--src/landscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 2f05fc2ba..2b8a2033b 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -415,7 +415,7 @@ void InitializeLandscape(void)
for (x = 0; x < maxx; x++) {
MakeClear(sizex * y + x, CLEAR_GRASS, 3);
SetTileHeight(sizex * y + x, 0);
- _m[sizex * y + x].extra = 0;
+ SetTropicZone(sizex * y + x, TROPICZONE_INVALID);
ClearBridgeMiddle(sizex * y + x);
}
MakeVoid(sizex * y + x);