mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Convert NULL -> nullptr in C++
This commit is contained in:
committed by
Michał Janiszewski
parent
44c8c84b7c
commit
d698ad1100
@@ -159,7 +159,7 @@ void screenshot_giant()
|
||||
sint32 originalZoom = 0;
|
||||
|
||||
rct_window *mainWindow = window_get_main();
|
||||
if (mainWindow != NULL && mainWindow->viewport != NULL)
|
||||
if (mainWindow != nullptr && mainWindow->viewport != nullptr)
|
||||
originalZoom = mainWindow->viewport->zoom;
|
||||
|
||||
sint32 rotation = originalRotation;
|
||||
|
||||
Reference in New Issue
Block a user