Fixed Linux build of SDKTools

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401073
This commit is contained in:
Scott Ehlert 2007-07-08 10:36:43 +00:00
parent 0a4f42d7fa
commit 9d086692ca
2 changed files with 56 additions and 56 deletions

View File

@ -12,10 +12,10 @@ SOURCEMM = ../../../../sourcemm
PROJECT = sdktools
#Uncomment for SourceMM-enabled extensions
#LINK_HL2 = $(HL2LIB)/tier1_i486.a vstdlib_i486.so tier0_i486.so
LINK_HL2 = $(HL2LIB)/tier1_i486.a vstdlib_i486.so tier0_i486.so
OBJECTS = sdk/smsdk_ext.cpp extension.cpp vdecoder.cpp vcallbuilder.cpp \
vcaller.cpp vnatives.cpp tenatives.cpp tempents.cpp
OBJECTS = sdk/smsdk_ext.cpp extension.cpp gamerules.cpp vdecoder.cpp vcallbuilder.cpp \
vcaller.cpp vnatives.cpp vsound.cpp tenatives.cpp tempents.cpp
##############################################
### CONFIGURE ANY OTHER FLAGS/OPTIONS HERE ###

View File

@ -43,7 +43,7 @@ void InitializeGameRules()
g_pGameRules = *reinterpret_cast<void ***>(addr + offset);
#elif defined PLATFORM_LINUX
if (!g_pGameRules->GetMemSig("g_pGameRules", (void **)&addr) || !addr)
if (!g_pGameConf->GetMemSig("g_pGameRules", (void **)&addr) || !addr)
{
return;
}