diff options
Diffstat (limited to 'src/client/game.cpp')
| -rw-r--r-- | src/client/game.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 4a8ef9969..e0f13307f 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -4212,8 +4212,6 @@ void Game::updateShadows() v3f sun_pos = light * offset_constant; - if (shadow->getDirectionalLightCount() == 0) - shadow->addDirectionalLight(); shadow->getDirectionalLight().setDirection(sun_pos); shadow->setTimeOfDay(in_timeofday); |
