Use assertion macro.
This commit is contained in:
parent
790bcb2474
commit
029c1e4c7d
@ -110,7 +110,7 @@ namespace Components
|
|||||||
|
|
||||||
void Maps::ReallocateEntryPool()
|
void Maps::ReallocateEntryPool()
|
||||||
{
|
{
|
||||||
static_assert(sizeof(Game::XAssetEntry) == 16, "XAssetEntry size mismatch");
|
Assert_Size(Game::XAssetEntry, 16);
|
||||||
|
|
||||||
Maps::EntryPool.clear();
|
Maps::EntryPool.clear();
|
||||||
Maps::EntryPool.resize(789312);
|
Maps::EntryPool.resize(789312);
|
||||||
|
Loading…
Reference in New Issue
Block a user