Added ComponentInfo::Field_t::Index

This commit is contained in:
2016-03-08 15:46:14 +01:00
parent 3436ba6656
commit ecc8d998cf
4 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ public:
ComponentPool(const ::ComponentInfo& ci)
: m_ComponentInfo(ci)
, m_Pool(ci.Meta->Allocation, sizeof(EntityID) + ci.Stride)
, m_Pool(ci.Meta->Allocation, ci.GetHeaderSize() + ci.Stride)
{ }
~ComponentPool();
ComponentPool(const ComponentPool& other);