mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 13:15:52 +00:00
Fix compile error in ScriptLoader (DistanceFog)
This commit is contained in:
parent
30bdf02b0e
commit
8fd5e30d19
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user