summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-03 11:39:17 +0000
committerrubidium <rubidium@openttd.org>2010-08-03 11:39:17 +0000
commitd687b49a4e45590c4adf24367d3be45c2b091943 (patch)
treead48c69bb312d184b294fcd03e915a4c4554b470 /src/unmovable_cmd.cpp
parentfbde46c028bb8c7f35b24d803f0d1bfae5039a67 (diff)
downloadopenttd-d687b49a4e45590c4adf24367d3be45c2b091943.tar.xz
(svn r20339) -Codechange: reorder the HQ drawing data so it's in a slightly more logical order from the map array's point of view.
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r--src/unmovable_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index f5083fa1f..b2868fe0b 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -253,7 +253,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
if (type == UNMOVABLE_HQ) {
uint8 offset = GetUnmovableOffset(ti->tile);
- dts = &_unmovable_hq[GetCompanyHQSize(ti->tile) << 2 | GB(offset, 4, 1) | GB(offset, 0, 1) << 1];
+ dts = &_unmovable_hq[GetCompanyHQSize(ti->tile) << 2 | GB(offset, 4, 1) << 1 | GB(offset, 0, 1)];
} else {
dts = &_unmovables[type];
}