(svn r10211) -Feature: [NewGRF] Add support for action 0F

This commit is contained in:
glx
2007-06-18 23:00:55 +00:00
parent 8220153e6b
commit 623a848cca
16 changed files with 407 additions and 40 deletions

View File

@@ -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];
}
}