mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:07:43 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -66,12 +66,12 @@ void CFluidPlaneManager::CreateSplash(TUniqueId splasher, CStateManager& mgr, co
|
||||
if (water.GetSplashEffect(factor)) {
|
||||
CExplosion* expl = new CExplosion(*water.GetSplashEffect(factor), mgr.AllocateUniqueId(), true,
|
||||
CEntityInfo(water.GetAreaIdAlways(), CEntity::NullConnectionList), "Splash",
|
||||
zeus::CTransform(zeus::CMatrix3f::skIdentityMatrix3f, pos), 1,
|
||||
zeus::CTransform(zeus::CMatrix3f(), pos), 1,
|
||||
zeus::CVector3f{splashScale}, water.GetSplashColor());
|
||||
mgr.AddObject(expl);
|
||||
}
|
||||
if (sfx) {
|
||||
CSfxManager::AddEmitter(water.GetSplashSound(factor), pos, zeus::CVector3f::skUp, true, false, 0x7f,
|
||||
CSfxManager::AddEmitter(water.GetSplashSound(factor), pos, zeus::skUp, true, false, 0x7f,
|
||||
kInvalidAreaId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user