ambient bugfix

This commit is contained in:
milek7
2018-10-18 20:25:34 +02:00
parent cae7f67797
commit 9f79d26062

View File

@@ -2157,7 +2157,7 @@ bool opengl_renderer::Render_cab(TDynamicObject const *Dynamic, bool const Alpha
}
// restore ambient
light_ubs.ambient += old_ambient;
light_ubs.ambient = old_ambient;
light_ubo->update(light_ubs);
break;