From b281adbb7b6e7f97f811ac45dad6636657d354c0 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Tue, 16 Oct 2007 17:24:52 +0000 Subject: [PATCH] fixed linux build --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401594 --- extensions/sdktools/tempents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sdktools/tempents.cpp b/extensions/sdktools/tempents.cpp index e179a475..3a07c31f 100644 --- a/extensions/sdktools/tempents.cpp +++ b/extensions/sdktools/tempents.cpp @@ -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; }