Codechange: Use std::swap() instead of Swap() (#13883)
This commit is contained in:
@@ -476,7 +476,7 @@ public:
|
||||
int w = as->size_x;
|
||||
int h = as->size_y;
|
||||
Direction rotation = as->layouts[_selected_airport_layout].rotation;
|
||||
if (rotation == DIR_E || rotation == DIR_W) Swap(w, h);
|
||||
if (rotation == DIR_E || rotation == DIR_W) std::swap(w, h);
|
||||
SetTileSelectSize(w, h);
|
||||
|
||||
this->preview_sprite = GetCustomAirportSprite(as, _selected_airport_layout);
|
||||
|
||||
Reference in New Issue
Block a user