removed 0 checks in case an offset will be 0

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401065
This commit is contained in:
David Anderson 2007-07-08 04:15:00 +00:00
parent ce6950aee2
commit aff0841bf4

View File

@ -208,19 +208,19 @@ void TempEntityManager::Initialize()
{
return;
}
if (!g_pGameConf->GetOffset("s_pTempEntities", &offset) || !offset)
if (!g_pGameConf->GetOffset("s_pTempEntities", &offset))
{
return;
}
if (!g_pGameConf->GetOffset("GetTEName", &m_NameOffs) || !m_NameOffs)
if (!g_pGameConf->GetOffset("GetTEName", &m_NameOffs))
{
return;
}
if (!g_pGameConf->GetOffset("GetTENext", &m_NextOffs) || !m_NextOffs)
if (!g_pGameConf->GetOffset("GetTENext", &m_NextOffs))
{
return;
}
if (!g_pGameConf->GetOffset("TE_GetServerClass", &m_GetClassNameOffs) || !m_GetClassNameOffs)
if (!g_pGameConf->GetOffset("TE_GetServerClass", &m_GetClassNameOffs))
{
return;
}