comparison src/airport_gui.cpp @ 9652:a05d108fe78f draft

(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
author rubidium <rubidium@openttd.org>
date Thu, 17 Jul 2008 20:13:01 +0000
parents 512ea64da840
children 14e241fadc66
comparison
equal deleted inserted replaced
9651:f93fb4d96ea5 9652:a05d108fe78f
143 _air_toolbar_widgets, 143 _air_toolbar_widgets,
144 }; 144 };
145 145
146 void ShowBuildAirToolbar() 146 void ShowBuildAirToolbar()
147 { 147 {
148 if (!IsValidPlayer(_current_player)) return; 148 if (!IsValidPlayerID(_current_player)) return;
149 149
150 DeleteWindowByClass(WC_BUILD_TOOLBAR); 150 DeleteWindowByClass(WC_BUILD_TOOLBAR);
151 AllocateWindowDescFront<BuildAirToolbarWindow>(&_air_toolbar_desc, TRANSPORT_AIR); 151 AllocateWindowDescFront<BuildAirToolbarWindow>(&_air_toolbar_desc, TRANSPORT_AIR);
152 } 152 }
153 153