(svn r8841) -Fix

Remove {,u}intswap() and replace them by Swap()
This commit is contained in:
tron
2007-02-22 08:43:02 +00:00
parent 0d041a87cc
commit 103d119c51
14 changed files with 29 additions and 34 deletions

View File

@@ -1546,7 +1546,7 @@ static bool AiCheckTrackResources(TileIndex tile, const AiDefaultBlockData *p, b
w = GB(p->attr, 1, 3);
h = GB(p->attr, 4, 3);
if (p->attr & 1) uintswap(w, h);
if (p->attr & 1) Swap(w, h);
if (cargo & 0x80) {
GetProductionAroundTiles(values, tile2, w, h, rad);