mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Numerous uninitialized memory fixes
This commit is contained in:
@@ -1701,7 +1701,7 @@ CEntity* ScriptLoader::LoadDistanceFog(CStateManager& mgr, CInputStream& in, int
|
||||
rangeDelta.readBig(in);
|
||||
bool expl = in.readBool();
|
||||
bool active = in.readBool();
|
||||
ERglFogMode realMode;
|
||||
ERglFogMode realMode = ERglFogMode::None;
|
||||
|
||||
if (mode == 0)
|
||||
realMode = ERglFogMode::None;
|
||||
|
||||
Reference in New Issue
Block a user