more math & testing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user