diff --git a/extensions/sdktools/Makefile b/extensions/sdktools/Makefile index 7656e09f..93e94db0 100644 --- a/extensions/sdktools/Makefile +++ b/extensions/sdktools/Makefile @@ -15,7 +15,7 @@ PROJECT = sdktools #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 + vcaller.cpp vnatives.cpp tenatives.cpp tempents.cpp ############################################## ### CONFIGURE ANY OTHER FLAGS/OPTIONS HERE ### diff --git a/extensions/sdktools/tempents.cpp b/extensions/sdktools/tempents.cpp index d67fcac7..b8acfcca 100644 --- a/extensions/sdktools/tempents.cpp +++ b/extensions/sdktools/tempents.cpp @@ -62,7 +62,7 @@ int TempEntityInfo::_FindOffset(const char *name, int *size) offset = prop->GetOffset(); if (size) { - *size = prop->m_nBits + *size = prop->m_nBits; } return offset;