13-06-2020, Saturday-19:04:39
Zitat:--- depot_frame.cc (Revision 9128)
+++ depot_frame.cc (Revision 9130)
@@ -1157,7 +1157,7 @@
txt_convoi_value.printf("%s %8s", translator::translate("Restwert:"), buf );
txt_convoi_cost.clear();
- if( sint64 fix_cost = welt->scale_with_month_length((sint64)cnv->get_fix_cost()) ) {
+ if( sint64 fix_cost = cnv->get_fixed_cost() ) {
money_to_string( buf, (double)fix_cost / 100.0, false );
txt_convoi_cost.printf( translator::translate("Cost: %8s (%.2f$/km %.2f$/m)\n"), buf, (double)cnv->get_running_cost()/100.0, (double)fix_cost/100.0 );
Was soll diese Änderung? Ich empfehle sie zurück zu nehmen.
Merke: get_fixed_cost != get_fix_cost