diff --git a/Runtime/MP1/World/CBouncyGrenade.cpp b/Runtime/MP1/World/CBouncyGrenade.cpp index 5ec8afe4f..4ebf026d7 100644 --- a/Runtime/MP1/World/CBouncyGrenade.cpp +++ b/Runtime/MP1/World/CBouncyGrenade.cpp @@ -115,7 +115,7 @@ void CBouncyGrenade::Think(float dt, CStateManager& mgr) { const zeus::CTransform& orientation = GetTransform().getRotation(); const zeus::CVector3f& translation = GetTranslation(); const zeus::CVector3f& scale = GetModelData()->GetScale(); - auto UpdateElementGen = [ orientation, translation, scale, dt ](CElementGen & gen) constexpr { + auto UpdateElementGen = [ orientation, translation, scale, dt ](CElementGen & gen) { gen.SetOrientation(orientation); gen.SetGlobalTranslation(translation); gen.SetGlobalScale(scale); diff --git a/Runtime/World/CScriptMazeNode.cpp b/Runtime/World/CScriptMazeNode.cpp index 1539ce057..a3145cad9 100644 --- a/Runtime/World/CScriptMazeNode.cpp +++ b/Runtime/World/CScriptMazeNode.cpp @@ -371,7 +371,7 @@ void CMazeState::GenerateObstacles() { Initialize(); } - auto GetRandom = [this](s32 offset) constexpr { + auto GetRandom = [this](s32 offset) { s32 tmp = x0_rand.Next(); return tmp + ((tmp / 5) * -5) + offset; };