diff options
author | rubidium <rubidium@openttd.org> | 2010-08-03 08:16:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-03 08:16:06 +0000 |
commit | ffedcc6533439009c890e513ed60ed02574d2a69 (patch) | |
tree | e424dfe53f735e68ca26b9f9ffaa3803b81df889 /src/saveload | |
parent | f44c51577b93faa5efc27a99b2696e08b24f7ca4 (diff) | |
download | openttd-ffedcc6533439009c890e513ed60ed02574d2a69.tar.xz |
(svn r20335) -Codechange: change the name of some unmovable map accessors
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index db0915c3d..65b9736a4 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -1803,8 +1803,8 @@ bool AfterLoadGame() /* Reordering/generalisation of the unmovable bits. */ UnmovableType type = GetUnmovableType(t); - SetCompanyHQSize(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 2, 3) : 0); - SetCompanyHQSection(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 1, 1) << 4 | GB(_m[t].m3, 0, 1) : 0); + 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); /* Make sure those bits are clear as well! */ _m[t].m4 = 0; |