diff options
Diffstat (limited to 'shaders/lightmap.cpp')
-rw-r--r-- | shaders/lightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index b3cd1e60..69702624 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -225,7 +225,7 @@ void lightmap_shader::add_light(Vector2 neighbor_offset, const light_s& light) neighbor_offset += Vector2((float)half_neighbors); constexpr auto tile_size = TILE_SIZE2.sum()/2; - float range; + float range = 0; fm_assert(light.falloff < light_falloff::COUNT); switch (light.falloff) |