diff options
author | tron <tron@openttd.org> | 2005-07-13 18:04:01 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-13 18:04:01 +0000 |
commit | a4bf608d406442a5edab837ca100e654b616e1ff (patch) | |
tree | b36523450a7bccf37ca126b6f857d1529d44c67b /train_gui.c | |
parent | fd0780eeef43e6a8aefc943f7f470e409e0db93b (diff) | |
download | openttd-a4bf608d406442a5edab837ca100e654b616e1ff.tar.xz |
(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c index 5d070244d..ccd36e4a5 100644 --- a/train_gui.c +++ b/train_gui.c @@ -320,7 +320,7 @@ static void ShowBuildTrainWindow(TileIndex tile) if (tile != 0) { w->caption_color = GetTileOwner(tile); - WP(w,buildtrain_d).railtype = _map3_lo[tile] & 0xF; + WP(w,buildtrain_d).railtype = _m[tile].m3 & 0xF; } else { w->caption_color = _local_player; WP(w,buildtrain_d).railtype = GetPlayer(_local_player)->max_railtype - 1; |