Use assertion macro.

This commit is contained in:
momo5502 2016-02-10 02:00:44 +01:00
parent 790bcb2474
commit 029c1e4c7d

View File

@ -110,7 +110,7 @@ namespace Components
void Maps::ReallocateEntryPool()
{
static_assert(sizeof(Game::XAssetEntry) == 16, "XAssetEntry size mismatch");
Assert_Size(Game::XAssetEntry, 16);
Maps::EntryPool.clear();
Maps::EntryPool.resize(789312);