17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 09:19:12 +01:00

fix: sonar sast fixes

This commit is contained in:
jerrrrycho
2026-09-27 14:55:17 +02:00
parent 8fbb482350
commit c8cb9f1839
7 changed files with 36 additions and 11 deletions

View File

@@ -1901,7 +1901,7 @@ TController::TController(bool AI, TDynamicObject *NewControll, bool InitPsyche,
#ifdef _WIN32
CreateDirectory( "physicslog", nullptr);
#elif __unix__
mkdir( "physicslog", 0744 );
mkdir( "physicslog", 0740 );
#endif
LogFile.open( std::string( "physicslog/" + VehicleName + ".dat" ),
std::ios::in | std::ios::out | std::ios::trunc );