equal
deleted
inserted
replaced
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 |