Minor change to StructManager.

git-svn-id: http://svn.purei.org/purei/trunk@469 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2009-01-31 02:09:11 +00:00
parent 598bef6de2
commit 135f112301

View File

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