summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-03 08:58:12 +0000
committerrubidium <rubidium@openttd.org>2010-08-03 08:58:12 +0000
commit3bfe26c69d10c8395057a0fe168906182b563769 (patch)
treec2dc97d833168bb2935913e3de297fe003ab6703 /src/saveload
parentf812e800028ae4fc65230da398c77d5d0fd695e7 (diff)
downloadopenttd-3bfe26c69d10c8395057a0fe168906182b563769.tar.xz
(svn r20337) -Codechange: unify the construction of objects on the map
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 65b9736a4..219ae153a 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1804,7 +1804,7 @@ bool AfterLoadGame()
/* Reordering/generalisation of the unmovable bits. */
UnmovableType type = GetUnmovableType(t);
SetUnmovableAnimationStage(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 2, 3) : 0);
- SetUnmovableOffset(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 1, 1) << 4 | GB(_m[t].m3, 0, 1) : 0);
+ SetUnmovableOffset(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 1, 1) | GB(_m[t].m3, 0, 1) << 4 : 0);
/* Make sure those bits are clear as well! */
_m[t].m4 = 0;