Fixed tier0 error and broken SourceTV detection on L4D1 (bug 5216, r=asherkin).
Fixed tier0 error and broken SourceTV detection on L4D1 (
bug 5216, r=asherkin).
1.1 --- a/core/HalfLife2.cpp Sat Apr 28 13:47:35 2012 -0400
1.2 +++ b/core/HalfLife2.cpp Sat Apr 28 13:49:25 2012 -0400
1.3 @@ -51,12 +51,12 @@
1.4 #define TIER0_NAME "libtier0.dylib"
1.5 #define VSTDLIB_NAME "libvstdlib.dylib"
1.6 #elif defined __linux__
1.7 -#if SOURCE_ENGINE == SE_EPISODEONE || SOURCE_ENGINE == ORANGEBOX || SOURCE_ENGINE == SE_LEFT4DEAD
1.8 -#define TIER0_NAME "tier0_i486.so"
1.9 +#if SOURCE_ENGINE == SE_ORANGEBOXVALVE || SOURCE_ENGINE == SE_LEFT4DEAD || SOURCE_ENGINE == SE_LEFT4DEAD2
1.10 +#define TIER0_NAME "libtier0.so"
1.11 +#define VSTDLIB_NAME "libvstdlib.so"
1.12 +#else
1.13 +#define TIER0_NAME "tier0_i486.so"
1.14 #define VSTDLIB_NAME "vstdlib_i486.so"
1.15 -#else
1.16 -#define TIER0_NAME "libtier0.so"
1.17 -#define VSTDLIB_NAME "libvstdlib.so"
1.18 #endif
1.19 #endif
1.20