diff --git a/light/entities.cc b/light/entities.cc index 9dc1e302..766ffbf8 100644 --- a/light/entities.cc +++ b/light/entities.cc @@ -502,6 +502,7 @@ SetupSuns(const globalconfig_t &cfg) } else { // Use { 0, 0, 0 } as sun target... logprint("WARNING: sun missing target, { 0 0 0 } used.\n"); VectorCopy(*entity.origin.vec3Value(), sunvec); + VectorInverse(sunvec); } // Add the sun