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

refactor: replace null with nullptr

This commit is contained in:
jerrrrycho
2026-06-28 21:42:45 +02:00
parent 1aac9b4e76
commit bf147dd155
15 changed files with 118 additions and 168 deletions

View File

@@ -197,7 +197,7 @@ void TSpeedPos::Clear()
fSectionVelocityDist = 0.0; //brak długości
fDist = 0.0;
vPos = glm::dvec3(0, 0, 0);
trTrack = NULL; // brak wskaźnika
trTrack = nullptr; // brak wskaźnika
};
void TSpeedPos::CommandCheck()
@@ -1918,7 +1918,7 @@ TController::TController(bool AI, TDynamicObject *NewControll, bool InitPsyche,
if( WriteLogFlag ) {
#ifdef _WIN32
CreateDirectory( "physicslog", NULL );
CreateDirectory( "physicslog", nullptr);
#elif __unix__
mkdir( "physicslog", 0744 );
#endif