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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user