1
0
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:
Michał Janiszewski
2018-01-07 21:43:07 +01:00
parent 2c8528798f
commit 77c4fa00bc
18 changed files with 220 additions and 220 deletions

View File

@@ -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(&timestamp);
gRealTimeOfDay.second = now->tm_sec;