mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Use nullptr instead of NULL in C++
This commit is contained in:
@@ -83,7 +83,7 @@ void date_update()
|
||||
|
||||
void date_update_real_time_of_day()
|
||||
{
|
||||
time_t timestamp = time(0);
|
||||
time_t timestamp = time(nullptr);
|
||||
struct tm *now = localtime(×tamp);
|
||||
|
||||
gRealTimeOfDay.second = now->tm_sec;
|
||||
|
||||
Reference in New Issue
Block a user