This commit is contained in:
Jean-Philip Desjardins 2014-11-30 18:31:10 -05:00
parent d996f3da0b
commit e34014dc30

View File

@ -25,12 +25,12 @@ public:
index -= m_idBase;
if(index >= m_structMax)
{
return NULL;
return nullptr;
}
StructType* structPtr = m_structBase + index;
if(!structPtr->isValid)
{
return NULL;
return nullptr;
}
return structPtr;
}