diff options
author | darkvater <darkvater@openttd.org> | 2005-01-10 14:43:00 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-10 14:43:00 +0000 |
commit | 29b4ab04c319f6b88e724ff79d73ca49f5676eaa (patch) | |
tree | e114f254bcb59432fd9b8e483ca4ef7c4ef8ec89 /network_gui.c | |
parent | fae367ab31433c0987a2e042fb7cea40952d5ff0 (diff) | |
download | openttd-29b4ab04c319f6b88e724ff79d73ca49f5676eaa.tar.xz |
(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c index fb266a190..0e9893c5c 100644 --- a/network_gui.c +++ b/network_gui.c @@ -746,7 +746,7 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e) DeleteName(str); y += 10; - SetDParam(0, _network_player_info[_selected_company_item].inaugurated_year + 1920); + SetDParam(0, _network_player_info[_selected_company_item].inaugurated_year + MAX_YEAR_BEGIN_REAL); DrawString(x, y, STR_NETWORK_INAUGURATION_YEAR, 2); // inauguration year y += 10; |