build 200604. sound loading logging enhancement, driving aid throttle data enhancement, external camera movement control fix

This commit is contained in:
tmj-fstate
2020-06-05 16:45:52 +02:00
parent ad1a14082c
commit 03561b11d8
9 changed files with 28 additions and 17 deletions

View File

@@ -51,7 +51,7 @@ std::string filename_scenery() {
void WriteLog( const char *str, logtype const Type ) {
if( str == nullptr ) { return; }
if( true == TestFlag( Global.DisabledLogTypes, Type ) ) { return; }
if( true == TestFlag( Global.DisabledLogTypes, static_cast<unsigned int>( Type ) ) ) { return; }
if (Global.iWriteLogEnabled & 1) {
if( !output.is_open() ) {
@@ -79,7 +79,7 @@ void WriteLog( const char *str, logtype const Type ) {
void ErrorLog( const char *str, logtype const Type ) {
if( str == nullptr ) { return; }
if( true == TestFlag( Global.DisabledLogTypes, Type ) ) { return; }
if( true == TestFlag( Global.DisabledLogTypes, static_cast<unsigned int>( Type ) ) ) { return; }
if (!errors.is_open()) {