Unbreak resolution texture hint.

This commit is contained in:
Kyzentun
2015-02-20 20:29:07 -07:00
parent 955c807dd5
commit 62aaba82f4
+1 -1
View File
@@ -29,7 +29,7 @@ static void GetResolutionFromFileName( RString sPath, int &iWidth, int &iHeight
// Check for nonsense values. Some people might not intend the hint. -Kyz
int maybe_width= StringToInt(asMatches[0]);
int maybe_height= StringToInt(asMatches[1]);
if(maybe_width <= 0 || maybe_height <= 0 || maybe_width > iWidth || maybe_height > iHeight)
if(maybe_width <= 0 || maybe_height <= 0)
{
return;
}