From 0ac2d3b3247041e0690e12ac7270dde5377390de Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 21 Sep 2014 11:20:11 +0000 Subject: (svn r26876) -Codechange: move 'has bride above' data from m6 to type --- src/saveload/afterload.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/saveload') diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 386d15cfe..d2b8b6d5d 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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); + } } } -- cgit v1.2.3-70-g09d2