2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 18:27:41 +00:00

Fill in remaining door properties

This commit is contained in:
Jack Andersen
2018-05-21 21:53:42 -10:00
parent 1ada86cc03
commit 3ceaa82035
2 changed files with 7 additions and 7 deletions

View File

@@ -481,7 +481,7 @@ CEntity* ScriptLoader::LoadDoor(CStateManager& mgr, CInputStream& in, int propCo
bool active = in.readBool();
bool open = in.readBool();
bool b3 = in.readBool();
bool projectilesCollide = in.readBool();
float animationLength = in.readFloatBig();
zeus::CAABox aabb = GetCollisionBox(mgr, info.GetAreaId(), collisionExtent, offset);
@@ -504,7 +504,7 @@ CEntity* ScriptLoader::LoadDoor(CStateManager& mgr, CInputStream& in, int propCo
isMorphballDoor = in.readBool();
return new CScriptDoor(mgr.AllocateUniqueId(), head.x0_name, info, head.x10_transform, std::move(mData), actParms,
orbitPos, aabb, active, open, b3, animationLength, isMorphballDoor);
orbitPos, aabb, active, open, projectilesCollide, animationLength, isMorphballDoor);
}
CEntity* ScriptLoader::LoadTrigger(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)