(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/
This commit is contained in:
@@ -241,10 +241,10 @@ struct BuildDocksToolbarWindow : Window {
|
||||
{
|
||||
this->RaiseButtons();
|
||||
|
||||
delete FindWindowById(WC_BUILD_STATION, 0);
|
||||
delete FindWindowById(WC_BUILD_DEPOT, 0);
|
||||
delete FindWindowById(WC_SELECT_STATION, 0);
|
||||
delete FindWindowById(WC_BUILD_BRIDGE, 0);
|
||||
DeleteWindowById(WC_BUILD_STATION, 0);
|
||||
DeleteWindowById(WC_BUILD_DEPOT, 0);
|
||||
DeleteWindowById(WC_SELECT_STATION, 0);
|
||||
DeleteWindowById(WC_BUILD_BRIDGE, 0);
|
||||
}
|
||||
|
||||
virtual void OnPlacePresize(Point pt, TileIndex tile_from)
|
||||
|
Reference in New Issue
Block a user