31-03-2020, Tuesday-15:58:01
Es liegt an dem neuen Parameter "preservation_year"
simcity.cc Zeile 3186
gb_desc->no_renovation_month() gibt eine 1 zurück warum auch immer, damit wird kein Haus renoviert
Wenn man das auskommentiert dann geht es.
building_reader.cc am Ende
Damit bin ich mit meinem Latein am Ende.
Ich liebe C++
simcity.cc Zeile 3186
Zitat: if( welt->get_timeline_year_month() > gb_desc->no_renovation_month() ) {
DBG_MESSAGE("stadt_t::renovate_city_building()", "no_renovation_month %i,%i ", welt->get_timeline_year_month() , gb_desc->no_renovation_month());
// this is a historic city building (as defiend by the pak set author), so do not renovate
return;
}
gb_desc->no_renovation_month() gibt eine 1 zurück warum auch immer, damit wird kein Haus renoviert
Wenn man das auskommentiert dann geht es.
building_reader.cc am Ende
Zitat: if( version < 10 ) {speichert preservation=35988,
// can always replace
desc->preservation_year_month = DEFAULT_RETIRE_DATE*12;
}
DBG_DEBUG("building_reader_t::read_node()",
"version=%d,"
" btyp=%d,"
" type=%d,"
" price=%d,"
" maintenance=%d,"
" capacity=%d,"
" level=%d,"
" extra_data=%d,"
" size.x=%d,"
" size.y=%d,"
" layouts=%d,"
" enables=%x,"
" flags=%d,"
" chance=%d,"
" climates=%X,"
" metro=%d,"
" anim=%d,"
" intro=%d/%d,"
" retire=%d/%d,"
" preservation=%d,",
version,
btyp,
desc->type,
desc->price,
desc->maintenance,
desc->capacity,
desc->level,
desc->extra_data,
desc->size.x,
desc->size.y,
desc->layouts,
desc->enables,
desc->flags,
desc->distribution_weight,
desc->allowed_climates,
desc->allow_underground,
desc->animation_time,
(desc->intro_date%12)+1,
desc->intro_date/12,
(desc->retire_date%12)+1,
desc->retire_date/12,
desc->preservation_year_month
);
Damit bin ich mit meinem Latein am Ende.
Ich liebe C++