don't jitter sun entities
This commit is contained in:
parent
6a3e971a11
commit
d1c3b56e1d
|
|
@ -537,6 +537,10 @@ static std::unique_ptr<light_t> DuplicateEntity(const light_t &src)
|
||||||
*/
|
*/
|
||||||
static void JitterEntity(const light_t &entity)
|
static void JitterEntity(const light_t &entity)
|
||||||
{
|
{
|
||||||
|
// don't jitter suns
|
||||||
|
if (entity.sun.value()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::unique_ptr<light_t>> new_lights;
|
std::vector<std::unique_ptr<light_t>> new_lights;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue