fixed linux build
authorBorja Ferrer <faluco@alliedmods.net>
Tue Oct 16 17:24:52 2007 +0000 (2007-10-16)
changeset 15885ce5ddb0f3f6
parent 1587 24592891b247
child 1589 1ac5df1857fd
fixed linux build
extensions/sdktools/tempents.cpp
     1.1 --- a/extensions/sdktools/tempents.cpp	Tue Oct 16 17:17:08 2007 +0000
     1.2 +++ b/extensions/sdktools/tempents.cpp	Tue Oct 16 17:24:52 2007 +0000
     1.3 @@ -285,7 +285,7 @@
     1.4  	/* Store the head of the TE linked list */
     1.5  	m_ListHead = **(void ***)((unsigned char *)addr + offset);
     1.6  #else
     1.7 -	if (!g_pGameConf->GetMemSig("s_pTempEntities", &offset))
     1.8 +	if (!g_pGameConf->GetMemSig("s_pTempEntities", &addr) || !addr)
     1.9  	{
    1.10  		return;
    1.11  	}