1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Refactor window functions to take references 4

This commit is contained in:
Hielke Morsink
2022-07-31 00:25:33 +02:00
parent 523bb8136e
commit a258008bef
73 changed files with 510 additions and 514 deletions

View File

@@ -1148,7 +1148,7 @@ static int32_t cc_set(InteractiveConsole& console, const arguments_t& argv)
}
else if (newRotation != currentRotation && mainWindow != nullptr)
{
window_rotate_camera(mainWindow, newRotation - currentRotation);
window_rotate_camera(*mainWindow, newRotation - currentRotation);
}
console.Execute("get current_rotation");
}