16
0
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:
milek7
2021-01-30 13:20:45 +01:00
parent fbc2c2d3c2
commit 8de5bc8b9d
3 changed files with 4 additions and 4 deletions

View File

@@ -3038,7 +3038,7 @@ bool TDynamicObject::Update(double dt, double dt1)
ErrorLog(
"Bad traction: " + MoverParameters->Name
+ " lost power for " + to_string( NoVoltTime, 2 ) + " sec. at "
+ to_string( glm::dvec3{ vPosition } ) );
+ to_string( glm::dvec3{ vPosition } ), logtype::traction );
}
}
}