2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 18:45:53 +00:00

CScriptBeam: Brace statements where applicable

Makes the code consistent.
This commit is contained in:
Lioncash 2020-05-07 07:55:20 -04:00
parent 23b14232be
commit ec6416e387

View File

@ -22,11 +22,13 @@ void CScriptBeam::Accept(IVisitor& visitor) { visitor.Visit(this); }
void CScriptBeam::Think(float dt, CStateManager& mgr) {
if (CPlasmaProjectile* proj = static_cast<CPlasmaProjectile*>(mgr.ObjectById(x154_projectileId))) {
if (proj->GetActive())
if (proj->GetActive()) {
proj->UpdateFx(x34_transform, dt, mgr);
} else
}
} else {
x154_projectileId = kInvalidUniqueId;
}
}
void CScriptBeam::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& mgr) {
if (msg == EScriptObjectMessage::Increment) {