summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-22 08:43:02 +0000
committertron <tron@openttd.org>2007-02-22 08:43:02 +0000
commit053e2ddda5396a29947093d3e9e3b725429c7102 (patch)
tree2048730a2bf93500bc8d9112bae1371da5ba8b87 /src/ai
parent20336638d572e8f30590f7d1c08c47cbf60f973f (diff)
downloadopenttd-053e2ddda5396a29947093d3e9e3b725429c7102.tar.xz
(svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/default/default.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp
index f8af9c333..85114276b 100644
--- a/src/ai/default/default.cpp
+++ b/src/ai/default/default.cpp
@@ -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);