diff options
author | tron <tron@openttd.org> | 2005-01-03 18:59:58 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-03 18:59:58 +0000 |
commit | c0702318d27d327e449b7f954dd15c0e46403f5c (patch) | |
tree | 294d2e8a0c3b227b0a8b5baf6e113d2043432d81 /network.c | |
parent | d382463f8afad00bc944c3057c2e9a0ac90e721c (diff) | |
download | openttd-c0702318d27d327e449b7f954dd15c0e46403f5c.tar.xz |
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
Diffstat (limited to 'network.c')
-rw-r--r-- | network.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -936,8 +936,8 @@ static void NetworkInitGameInfo(void) _network_game_info.spectators_on = 0; _network_game_info.game_date = _date; _network_game_info.start_date = ConvertIntDate(_patches.starting_date); - _network_game_info.map_width = TILES_X; - _network_game_info.map_height = TILES_Y; + _network_game_info.map_width = MapSizeX(); + _network_game_info.map_height = MapSizeY(); _network_game_info.map_set = _opt.landscape; if (_network_game_info.server_password[0] == '\0') { |