Fix compile error in ScriptLoader (DistanceFog)

This commit is contained in:
Phillip Stephens 2016-08-08 14:15:42 -07:00
parent 30bdf02b0e
commit 8fd5e30d19
1 changed files with 1 additions and 1 deletions

View File

@ -1482,7 +1482,7 @@ CEntity* ScriptLoader::LoadDistanceFog(CStateManager& mgr, CInputStream& in,
else if (mode == 5) else if (mode == 5)
realMode = ERglFogMode::PerspRevExp2; 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); 0.f, 0.f, 0.f, 0.f);
} }