From 8fd5e30d191a516e3eb26cbf4d4aa8cb699728a5 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Mon, 8 Aug 2016 14:15:42 -0700 Subject: [PATCH] Fix compile error in ScriptLoader (DistanceFog) --- Runtime/World/ScriptLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/ScriptLoader.cpp b/Runtime/World/ScriptLoader.cpp index 044880df0..a51ac50a5 100644 --- a/Runtime/World/ScriptLoader.cpp +++ b/Runtime/World/ScriptLoader.cpp @@ -1482,7 +1482,7 @@ CEntity* ScriptLoader::LoadDistanceFog(CStateManager& mgr, CInputStream& in, else if (mode == 5) realMode = ERglFogMode::PerspRevExp2; - return new CScriptDistanceFog(mgr.AllocateUniqueId(), name, info, realMode, col, vec1, f1, vec2, b1, active, + return new CScriptDistanceFog(mgr.AllocateUniqueId(), *name, info, realMode, col, vec1, f1, vec2, b1, active, 0.f, 0.f, 0.f, 0.f); }