diff --git a/scene/3d/baked_lightmap.cpp b/scene/3d/baked_lightmap.cpp index af044fccdb4..deae87aa581 100644 --- a/scene/3d/baked_lightmap.cpp +++ b/scene/3d/baked_lightmap.cpp @@ -1457,7 +1457,7 @@ int BakedLightmap::get_bounces() const { } void BakedLightmap::set_bias(float p_bias) { - ERR_FAIL_COND(p_bias < 0.00001); + ERR_FAIL_COND(p_bias < 0.00001f); bias = p_bias; }