mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-18 07:52:32 +01:00
Fixed crash on Linux when loading via gameinfo.txt on Left 4 Dead 2 (bug 4111, r=dvander).
This commit is contained in:
parent
b90b93e849
commit
25a63bbdaa
@ -56,7 +56,7 @@ static int isgd_shutdown_index = -1;
|
||||
#if defined _WIN32
|
||||
#define SERVER_NAME "server.dll"
|
||||
#elif defined __linux__
|
||||
#define SERVER_NAME "server_i486.so"
|
||||
#define SERVER_NAME "server" BINARY_SUFFIX
|
||||
#endif
|
||||
|
||||
static bool
|
||||
@ -175,6 +175,12 @@ mm_DetectGameInformation()
|
||||
|
||||
game_info_detected = 1;
|
||||
|
||||
if (gamedll_path_count == 0)
|
||||
{
|
||||
mm_LogFatal("Could not detect any valid game paths in gameinfo.txt");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user