Mercurial > hg > openttd
diff src/network/network_gui.cpp @ 6956:6d300d04ac5e draft
(svn r10211) -Feature: [NewGRF] Add support for action 0F
author | glx <glx@openttd.org> |
---|---|
date | Mon, 18 Jun 2007 23:00:55 +0000 (2007-06-18) |
parents | 8139c889289a |
children | 68c101a3230f |
line wrap: on
line diff
--- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1519,8 +1519,8 @@ 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]; } }