Blob Blame History Raw
diff -up alienarena-7.10/source/unix/sys_unix.c.orig alienarena-7.10/source/unix/sys_unix.c
--- alienarena-7.10/source/unix/sys_unix.c.orig	2007-10-08 11:27:26.000000000 +0200
+++ alienarena-7.10/source/unix/sys_unix.c	2007-11-17 14:24:00.000000000 +0100
@@ -227,6 +227,7 @@ void *Sys_GetGameAPI (void *parms)
 
 	Com_Printf("------- Loading %s -------\n", gamename);
 
+#if 0
 	// now run through the search paths
 	path = NULL;
 	while (1)
@@ -242,11 +243,13 @@ void *Sys_GetGameAPI (void *parms)
 			continue;
 		fclose(fp);
 
+#endif
+		snprintf (name, MAX_OSPATH, "%s", gamename);
 		game_library = dlopen (name, RTLD_NOW);
 		if (game_library)
 		{
 			Com_Printf ("LoadLibrary (%s)\n",name);
-			break;
+/*			break; */
 		}
 		else
 		{
@@ -263,7 +266,7 @@ void *Sys_GetGameAPI (void *parms)
 
 			return NULL;
 		}
-	}
+/*	} */
 
 	GetGameAPI = (void *)dlsym (game_library, "GetGameAPI");
 	if (!GetGameAPI)