refactor: change pointer parameters to references for Level and Content in various classes
This commit is contained in:
@@ -28,7 +28,7 @@ LevelController::LevelController(
|
||||
playerTickClock(20, 3) {
|
||||
if (clientPlayer) {
|
||||
chunks->lighting = std::make_unique<Lighting>(
|
||||
level->content, clientPlayer->chunks.get()
|
||||
level->content, *clientPlayer->chunks
|
||||
);
|
||||
}
|
||||
blocks = std::make_unique<BlocksController>(
|
||||
|
||||
Reference in New Issue
Block a user