mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 13:14:19 +01:00
Codechange: Use std::swap() instead of Swap() (#13883)
This commit is contained in:
@@ -834,7 +834,7 @@ static void GenerateTerrain(int type, uint flag)
|
||||
uint w = templ->width;
|
||||
uint h = templ->height;
|
||||
|
||||
if (DiagDirToAxis(direction) == AXIS_Y) Swap(w, h);
|
||||
if (DiagDirToAxis(direction) == AXIS_Y) std::swap(w, h);
|
||||
|
||||
const uint8_t *p = templ->data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user