mirror of https://github.com/AxioDL/metaforce.git
CElectricBeamProjectile: Remove unnecessary get() calls in PreRender()
Same behavior, less code.
This commit is contained in:
parent
d93df18a37
commit
06dfc3406e
|
@ -42,8 +42,8 @@ void CElectricBeamProjectile::PreRender(CStateManager&, const zeus::CFrustum&) {
|
|||
if (!GetActive())
|
||||
return;
|
||||
|
||||
g_Renderer->AddParticleGen(*x478_elementGen.get());
|
||||
g_Renderer->AddParticleGen(*x468_electric.get());
|
||||
g_Renderer->AddParticleGen(*x478_elementGen);
|
||||
g_Renderer->AddParticleGen(*x468_electric);
|
||||
}
|
||||
|
||||
void CElectricBeamProjectile::UpdateFx(const zeus::CTransform& xf, float dt, CStateManager& mgr) {
|
||||
|
|
Loading…
Reference in New Issue