1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Fixed exit crash on Linux on Left 4 Dead 2 (bug 4114, r=dvander).

This commit is contained in:
Scott Ehlert 2009-11-17 04:49:17 -05:00
parent 25a63bbdaa
commit a2bd947492

View File

@ -659,6 +659,7 @@ bool CacheUserMessages()
void *addr = dlsym(handle, "usermessages");
if (addr == NULL)
{
dlclose(handle);
return false;
}
dict = (UserMsgDict *)*(void **)addr;