fixed linux build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401594
This commit is contained in:
Borja Ferrer 2007-10-16 17:24:52 +00:00
parent 501db6ee8b
commit b281adbb7b

View File

@ -285,7 +285,7 @@ void TempEntityManager::Initialize()
/* Store the head of the TE linked list */
m_ListHead = **(void ***)((unsigned char *)addr + offset);
#else
if (!g_pGameConf->GetMemSig("s_pTempEntities", &offset))
if (!g_pGameConf->GetMemSig("s_pTempEntities", &addr) || !addr)
{
return;
}