more math & testing

This commit is contained in:
Asuro
2025-03-01 04:32:30 +01:00
parent b0c80c1bbb
commit f7c01cb7b5
9 changed files with 139 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ namespace Game
GameInstance& instance = *reinterpret_cast<GameInstance*>(shared.Game.PermanentStorage);
if (sizeof(GameInstance) != instance.Size)
{
LOG_ERROR("Game instance size changed, resetting!");
LOG_WARN("Game instance size changed, resetting!");
instance = {};
}
instance.UsedScratchAmount = 0;