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
1 changed files with 4 additions and 2 deletions

View File

@ -22,10 +22,12 @@ 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) {