diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index b0c5de535..177f73f92 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -193,7 +193,8 @@ void CHalfLife2::InitLogicalEntData() || SOURCE_ENGINE == SE_HL2DM \ || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 \ - || SOURCE_ENGINE == SE_BMS + || SOURCE_ENGINE == SE_BMS \ + || SOURCE_ENGINE == SE_NUCLEARDAWN if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr)) { diff --git a/extensions/sdktools/tempents.cpp b/extensions/sdktools/tempents.cpp index 25eabb110..2a089b11b 100644 --- a/extensions/sdktools/tempents.cpp +++ b/extensions/sdktools/tempents.cpp @@ -290,7 +290,8 @@ void TempEntityManager::Initialize() || SOURCE_ENGINE == SE_HL2DM \ || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 \ - || SOURCE_ENGINE == SE_BMS + || SOURCE_ENGINE == SE_BMS \ + || SOURCE_ENGINE == SE_NUCLEARDAWN if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr)) { diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index f50227400..3b9efe019 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -829,12 +829,13 @@ static cell_t NativeFindEntityByClassname(IPluginContext *pContext, const cell_t static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *params) { -#if SOURCE_ENGINE == SE_TF2 \ - || SOURCE_ENGINE == SE_DODS \ - || SOURCE_ENGINE == SE_HL2DM \ - || SOURCE_ENGINE == SE_CSS \ - || SOURCE_ENGINE == SE_BMS \ - || SOURCE_ENGINE == SE_SDK2013 +#if SOURCE_ENGINE == SE_TF2 \ + || SOURCE_ENGINE == SE_DODS \ + || SOURCE_ENGINE == SE_HL2DM \ + || SOURCE_ENGINE == SE_CSS \ + || SOURCE_ENGINE == SE_BMS \ + || SOURCE_ENGINE == SE_SDK2013 \ + || SOURCE_ENGINE == SE_NUCLEARDAWN static bool bHasServerTools3 = !!g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr); if (bHasServerTools3)