From 06dfc3406e5a7620f656ec89597779ed60c6aa7d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 9 Mar 2020 13:55:23 -0400 Subject: [PATCH] CElectricBeamProjectile: Remove unnecessary get() calls in PreRender() Same behavior, less code. --- Runtime/Weapon/CElectricBeamProjectile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Weapon/CElectricBeamProjectile.cpp b/Runtime/Weapon/CElectricBeamProjectile.cpp index 7d48090be..7b0376b11 100644 --- a/Runtime/Weapon/CElectricBeamProjectile.cpp +++ b/Runtime/Weapon/CElectricBeamProjectile.cpp @@ -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) {