1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +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:
Scott Ehlert 2009-11-15 22:52:54 -05:00
parent b90b93e849
commit 25a63bbdaa

View File

@ -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;
}