16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 19:29:19 +02:00

minor ai logic tweaks, minor bug fixes

This commit is contained in:
tmj-fstate
2018-09-04 00:48:26 +02:00
parent bd5968cb4b
commit 36ff8d83e8
4 changed files with 33 additions and 23 deletions

View File

@@ -148,7 +148,7 @@ drivingaid_panel::update() {
text_lines.emplace_back( textline + " " + expandedtext, Global.UITextColor );
}
auto const sizex = ( is_expanded ? 660 : 135 );
auto const sizex = ( is_expanded ? 735 : 135 );
size = { sizex, 85 };
}
@@ -786,6 +786,7 @@ debug_panel::update_section_scenario( std::vector<text_line> &Output ) {
// current luminance level
textline = "Light level: " + to_string( Global.fLuminance, 3 );
if( Global.FakeLight ) { textline += "(*)"; }
textline += "\nAir temperature: " + to_string( Global.AirTemperature, 1 ) + " deg C";
Output.emplace_back( textline, Global.UITextColor );
}