fix memory arena alloc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user