CElectricBeamProjectile: Remove unnecessary get() calls in PreRender()

Same behavior, less code.
This commit is contained in:
Lioncash 2020-03-09 13:55:23 -04:00
parent d93df18a37
commit 06dfc3406e
1 changed files with 2 additions and 2 deletions

View File

@ -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) {