2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Minor CElementGen cleanup, implement CFlaahgraPlants

This commit is contained in:
2019-06-20 14:17:03 -07:00
parent 8c35cd02f0
commit 6df0fcde50
3 changed files with 87 additions and 5 deletions

View File

@@ -1843,10 +1843,7 @@ bool CElementGen::IsSystemDeletable() const {
if (!ch->IsSystemDeletable())
return false;
if (x268_PSLT < x74_curFrame && x25c_activeParticleCount == 0)
return true;
return false;
return x268_PSLT < x74_curFrame && x25c_activeParticleCount == 0;
}
std::optional<zeus::CAABox> CElementGen::GetBounds() const {