2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 17:47:42 +00:00

Removed constexpr from lambdas to fix compiler error

This commit is contained in:
SirMangler
2021-01-03 19:20:48 +00:00
parent 0cdacb1f37
commit 0e093baf67
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
};