Removed gEntList failure notify on Windows. (bug 4832, r=fyren).

This commit is contained in:
Nicholas Hastings 2011-04-11 22:30:03 -04:00
parent 2516a3af8a
commit 10129fa568

View File

@ -143,6 +143,7 @@ void CHalfLife2::OnSourceModAllInitialized_Post()
*/ */
if (g_pGameConf->GetMemSig("gEntList", (void **)&addr)) if (g_pGameConf->GetMemSig("gEntList", (void **)&addr))
{ {
#if !defined PLATFORM_WINDOWS
if (!addr) if (!addr)
{ {
// Key exists so notify if lookup fails, but try other method. // Key exists so notify if lookup fails, but try other method.
@ -150,8 +151,11 @@ void CHalfLife2::OnSourceModAllInitialized_Post()
} }
else else
{ {
#endif
g_EntList = reinterpret_cast<void *>(addr); g_EntList = reinterpret_cast<void *>(addr);
#if !defined PLATFORM_WINDOWS
} }
#endif
} }