core/metamod_plugins.cpp
changeset 747 9563de0165f7
parent 722 78f730f91439
child 768 e6394d70ced0
     1.1 --- a/core/metamod_plugins.cpp	Fri Apr 15 00:30:15 2011 -0400
     1.2 +++ b/core/metamod_plugins.cpp	Sat Apr 23 21:35:10 2011 -0500
     1.3 @@ -445,7 +445,7 @@
     1.4  				char file_path[256];
     1.5  				size_t len = g_Metamod.PathFormat(file_path, sizeof(file_path), "%s", file);
     1.6  
     1.7 -				for (size_t i = len - 1; i >= 0 && i < len; i--)
     1.8 +				for (size_t i = len - 1; i < len; i--)
     1.9  				{
    1.10  					if (_IsPathSepChar(file_path[i]))
    1.11  					{