fix memory arena alloc

This commit is contained in:
Till Wübbers
2025-04-28 10:03:09 +02:00
parent 32d89d8f77
commit 171e25ac76
8 changed files with 40 additions and 29 deletions

View File

@@ -102,7 +102,7 @@ namespace Game
void Level::Setup(GameData& data)
{
LOG("Level setup");
uint8_t* storagePtr = data.EntityArena.Ptr;
uint8_t* storagePtr = data.EntityArena.Base;
bool needReset = false;
needReset |= Cubes.Setup(storagePtr, needReset);
needReset |= Tests.Setup(storagePtr, needReset);