Merge pull request #207 from lioncash/get

CElectricBeamProjectile: Remove unnecessary get() calls in PreRender()
This commit is contained in:
Phillip Stephens 2020-03-12 15:09:47 -07:00 committed by GitHub
commit 196a545f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {