mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 06:27:52 +00:00
Runtime: Remove unnecessary smart pointer .get() calls
Same behavior, less code to read.
This commit is contained in:
@@ -95,7 +95,7 @@ void CExplosion::AddToRenderer(const zeus::CFrustum& frustum, const CStateManage
|
||||
|
||||
if (!(xf4_24_renderThermalHot && mgr.GetThermalDrawFlag() == EThermalDrawFlag::Hot) &&
|
||||
!(xf4_26_renderXray && mgr.GetPlayerState()->GetActiveVisor(mgr) == CPlayerState::EPlayerVisor::XRay)) {
|
||||
g_Renderer->AddParticleGen(*xe8_particleGen.get());
|
||||
g_Renderer->AddParticleGen(*xe8_particleGen);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user