(svn r26875) -Codechange: move TropicZone information from m6 to type
This commit is contained in:
@@ -574,6 +574,8 @@ bool AfterLoadGame()
|
||||
/* In old savegame versions, the heightlevel was coded in bits 0..3 of the type field */
|
||||
for (TileIndex t = 0; t < map_size; t++) {
|
||||
_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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user