From 8b205b0d5d257f099cbd62ef6c302b64fc16e1a9 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 11 Apr 2011 22:30:03 -0400 Subject: [PATCH] Removed gEntList failure notify on Windows. (bug 4832, r=fyren). --- core/HalfLife2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index c53c328c..3af1f9bb 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -142,6 +142,7 @@ void CHalfLife2::OnSourceModAllInitialized_Post() */ if (g_pGameConf->GetMemSig("gEntList", (void **)&addr)) { +#if !defined PLATFORM_WINDOWS if (!addr) { // Key exists so notify if lookup fails, but try other method. @@ -149,8 +150,11 @@ void CHalfLife2::OnSourceModAllInitialized_Post() } else { +#endif g_EntList = reinterpret_cast(addr); +#if !defined PLATFORM_WINDOWS } +#endif }