diff -r 024416402896 -r 9563de0165f7 core/metamod.cpp --- a/core/metamod.cpp Fri Apr 15 00:30:15 2011 -0400 +++ b/core/metamod.cpp Sat Apr 23 21:35:10 2011 -0500 @@ -326,7 +326,7 @@ /* Chop off the "engine" file part */ len = strlen(engine_file); - for (size_t i = len - 1; i >= 0 && i < len; i--) + for (size_t i = len - 1; i < len; i--) { if (engine_file[i] == '/' || engine_file[i] == '\\') {