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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user