mirror of https://github.com/AxioDL/metaforce.git
CFlaahgra: Fix CFlaahgraPlants origin
This commit is contained in:
parent
30f7716946
commit
3e1dee99f1
|
@ -355,6 +355,7 @@ void CFlaahgra::DoUserAnimEvent(CStateManager& mgr, const CInt32POINode& node, E
|
||||||
CMaterialFilter::MakeInclude({EMaterialTypes::Floor}));
|
CMaterialFilter::MakeInclude({EMaterialTypes::Floor}));
|
||||||
|
|
||||||
if (res.IsValid()) {
|
if (res.IsValid()) {
|
||||||
|
xf.origin = res.GetPoint();
|
||||||
CFlaahgraPlants* plants = new CFlaahgraPlants(x6d4_, x56c_.xd8_, mgr.AllocateUniqueId(), GetAreaIdAlways(),
|
CFlaahgraPlants* plants = new CFlaahgraPlants(x6d4_, x56c_.xd8_, mgr.AllocateUniqueId(), GetAreaIdAlways(),
|
||||||
GetUniqueId(), xf, x56c_.xbc_, {5.f, 10.f, 5.f});
|
GetUniqueId(), xf, x56c_.xbc_, {5.f, 10.f, 5.f});
|
||||||
mgr.AddObject(plants);
|
mgr.AddObject(plants);
|
||||||
|
|
Loading…
Reference in New Issue