fix loading of scaled graphics again

Benjamin Herr 2011-08-06 20:22:55 +02:00
parent 5d1f210436
commit 29aa76dd19
1 changed files with 1 additions and 1 deletions

View File

@ -123,8 +123,8 @@ bool C4Surface::Load(C4Group &hGroup, const char *szFilename, bool, bool fNoErrI
if (sscanf(scaled_name + base_length + 1, "%d", &scale) == 1)
if (scale > max_scale)
{
ScaleToSet = max_scale;
max_scale = scale;
ScaleToSet = max_scale;
strFilename.Copy(scaled_name);
szFilename = strFilename.getData();
}