From 6221d74644922ea4bbba3ed9cd8bbec42398f77b Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 May 2009 23:34:14 +0000 Subject: (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) --- src/statusbar_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/statusbar_gui.cpp') diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index b376befff..20dcefb6d 100644 --- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -94,7 +94,7 @@ struct StatusBarWindow : Window { virtual void OnPaint() { - const Company *c = (_local_company == COMPANY_SPECTATOR) ? NULL : GetCompany(_local_company); + const Company *c = (_local_company == COMPANY_SPECTATOR) ? NULL : Company::Get(_local_company); this->DrawWidgets(); SetDParam(0, _date); -- cgit v1.2.3-54-g00ecf