diff --git a/game/graphics.cc b/game/graphics.cc index 25b1cb4..d4d6064 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -48,10 +48,8 @@ void Graphics::init(Level* level) { glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); glEnable(GL_MULTISAMPLE); - - // update lights on creation - lastLightUpdate = -lightUpdateDelay; + lastLightUpdate = 0; lastWindUpdate = - windUpdateDelay; windTarget = 0.0f;