diff --git a/libs/scene/scene.c b/libs/scene/scene.c index e08fb718c..13742f2a9 100644 --- a/libs/scene/scene.c +++ b/libs/scene/scene.c @@ -35,6 +35,7 @@ # include #endif +#include "QF/mathlib.h" #include "QF/progs.h" // for PR_RESMAP #include "QF/sys.h" @@ -84,6 +85,8 @@ Scene_CreateEntity (scene_t *scene) hierarchy_t *h = ent->transform->hierarchy; h->entity.a[ent->transform->index] = ent; + QuatSet (1, 1, 1, 1, ent->renderer.colormod); + return ent; }