(svn r26876) -Codechange: move 'has bride above' data from m6 to type

This commit is contained in:
rubidium
2014-09-21 11:20:11 +00:00
parent f82c07b582
commit 173a234951
4 changed files with 13 additions and 18 deletions

View File

@@ -576,6 +576,12 @@ bool AfterLoadGame()
_m[t].height = GB(_m[t].type, 0, 4);
SB(_m[t].type, 0, 2, GB(_m[t].m6, 0, 2));
SB(_m[t].m6, 0, 2, 0);
if (MayHaveBridgeAbove(t)) {
SB(_m[t].type, 2, 2, GB(_m[t].m6, 6, 2));
SB(_m[t].m6, 6, 2, 0);
} else {
SB(_m[t].type, 2, 2, 0);
}
}
}