2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

CSnakeWeedSwarm: Rendering & state fixes

This commit is contained in:
2020-03-01 02:52:17 -05:00
parent f064bc2f7b
commit 17b9813b3e
3 changed files with 36 additions and 44 deletions

View File

@@ -3054,9 +3054,9 @@ CEntity* ScriptLoader::LoadSnakeWeedSwarm(CStateManager& mgr, CInputStream& in,
u32 w1 = in.readUint32Big();
u32 w2 = in.readUint32Big();
u32 w3 = in.readUint32Big();
CAssetId w4 = (propCount < 29 ? -1 : in.readUint32Big());
u32 w5 = (propCount < 29 ? -1 : in.readUint32Big());
CAssetId w6 = (propCount < 29 ? -1 : in.readUint32Big());
CAssetId w4 = (propCount < 29 ? CAssetId() : in.readUint32Big());
u32 w5 = (propCount < 29 ? 0 : in.readUint32Big());
CAssetId w6 = (propCount < 29 ? CAssetId() : in.readUint32Big());
float f16 = (propCount < 29 ? 0.f : in.readFloatBig());
CAnimRes animRes(animParms.GetACSFile(), animParms.GetCharacter(), zeus::skOne3f, animParms.GetInitialAnimation(),