(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
This commit is contained in:
@@ -428,7 +428,7 @@ static void ReadTTDPatchFlags()
|
||||
|
||||
static const OldChunks town_chunk[] = {
|
||||
OCL_SVAR( OC_TILE, Town, xy ),
|
||||
OCL_SVAR( OC_FILE_U16 | OC_VAR_U32, Town, population ),
|
||||
OCL_NULL( 2 ), ///< population, no longer in use
|
||||
OCL_SVAR( OC_UINT16, Town, townnametype ),
|
||||
OCL_SVAR( OC_UINT32, Town, townnameparts ),
|
||||
OCL_SVAR( OC_UINT8, Town, grow_counter ),
|
||||
@@ -451,7 +451,7 @@ static const OldChunks town_chunk[] = {
|
||||
nothing changed ? ? */
|
||||
OCL_SVAR( OC_FILE_U32 | OC_VAR_U8, Town, have_ratings ),
|
||||
OCL_SVAR( OC_FILE_U32 | OC_VAR_U8, Town, statues ),
|
||||
OCL_SVAR( OC_UINT16, Town, num_houses ),
|
||||
OCL_NULL( 2 ), ///< num_houses, no longer in use
|
||||
OCL_SVAR( OC_UINT8, Town, time_until_rebuild ),
|
||||
OCL_SVAR( OC_UINT8, Town, growth_rate ),
|
||||
|
||||
|
Reference in New Issue
Block a user