branch | NewGRF_ports |
changeset 10994 | cd9968b6f96b |
parent 10991 | d8811e327d12 |
--- a/src/town_gui.cpp Tue Jun 17 10:32:49 2008 +0000 +++ b/src/town_gui.cpp Tue Jun 17 13:22:13 2008 +0000 @@ -545,7 +545,7 @@ SetVScrollCount(this, this->towns.Length()); this->DrawWidgets(); - this->DrawSortButtonState(this->towns.sort_type == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); + this->DrawSortButtonState(this->towns.SortType() == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); { int n = 0;