16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 20:39:18 +02:00

allow for 0 dynamic lights

This commit is contained in:
milek7
2022-07-07 02:44:56 +02:00
parent ba5dfda64d
commit 1860e46d4b

View File

@@ -351,7 +351,7 @@ global_settings::ConfigParse(cParser &Parser) {
// clamp the light number // clamp the light number
// max 8 lights per opengl specs, minus one used for sun. at least one light for // max 8 lights per opengl specs, minus one used for sun. at least one light for
// controlled vehicle // controlled vehicle
DynamicLightCount = clamp(DynamicLightCount, 1, 7); DynamicLightCount = clamp(DynamicLightCount, 0, 7);
} }
else if (token == "scenario.time.override") else if (token == "scenario.time.override")
{ {