Removed gEntList failure notify on Windows. (bug 4832, r=fyren).
This commit is contained in:
parent
2516a3af8a
commit
10129fa568
@ -143,6 +143,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.
|
||||
@ -150,8 +151,11 @@ void CHalfLife2::OnSourceModAllInitialized_Post()
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
g_EntList = reinterpret_cast<void *>(addr);
|
||||
#if !defined PLATFORM_WINDOWS
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user