diff options
author | glx <glx@openttd.org> | 2007-06-18 23:00:55 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-06-18 23:00:55 +0000 |
commit | 623a848cca99d7686f4e594fea4573d5bb40ed32 (patch) | |
tree | f4318f970123dab2462d27992cd283f78f4d5885 /src/network | |
parent | 8220153e6bfab15670c5977f6bbc56cf9a2c8a7e (diff) | |
download | openttd-623a848cca99d7686f4e594fea4573d5bb40ed32.tar.xz |
(svn r10211) -Feature: [NewGRF] Add support for action 0F
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 30bb22c55..d5a3f147a 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1519,8 +1519,8 @@ static const char *ChatTabCompletionNextItem(uint *item) FOR_ALL_TOWNS_FROM(t, *item - MAX_CLIENT_INFO) { /* Get the town-name via the string-system */ - SetDParam(0, t->townnameparts); - GetString(chat_tab_temp_buffer, t->townnametype, lastof(chat_tab_temp_buffer)); + SetDParam(0, t->index); + GetString(chat_tab_temp_buffer, STR_TOWN, lastof(chat_tab_temp_buffer)); return &chat_tab_temp_buffer[0]; } } |