mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
Logtype category for traction issues, log also without debugmode
This commit is contained in:
@@ -88,9 +88,8 @@ basic_cell::update_traction( TDynamicObject *Vehicle, int const Pantographindex
|
||||
// liczba pantografów teraz będzie mniejsza
|
||||
--Vehicle->MoverParameters->EnginePowerSource.CollectorParameters.CollectorsNo;
|
||||
}
|
||||
if( DebugModeFlag ) {
|
||||
ErrorLog( "Bad traction: " + Vehicle->name() + " broke pantograph at " + to_string( pantographposition ) );
|
||||
}
|
||||
ErrorLog( "Bad traction: " + Vehicle->name() + " broke pantograph at " + to_string( pantographposition ), logtype::traction );
|
||||
|
||||
}
|
||||
}
|
||||
else if( fVertical < pantograph->PantTraction ) {
|
||||
|
||||
Reference in New Issue
Block a user