hedgewars/uStore.pas
changeset 2254 bb68e5a5be56
parent 2252 03fd99dff989
child 2258 3dd028604cfd
equal deleted inserted replaced
2253:ecd10eaa5daf 2254:bb68e5a5be56
   901 {$ENDIF}
   901 {$ENDIF}
   902 begin
   902 begin
   903 WriteToConsole(msgLoading + filename + '... ');
   903 WriteToConsole(msgLoading + filename + '... ');
   904 s:= filename + '.' + cBitsStr + '.png';
   904 s:= filename + '.' + cBitsStr + '.png';
   905 tmpsurf:= IMG_Load(Str2PChar(s));
   905 tmpsurf:= IMG_Load(Str2PChar(s));
   906 WriteToConsole(inttostr(imageFlags));
   906 
   907 if tmpsurf = nil then
   907 if tmpsurf = nil then
   908    begin
   908    begin
   909    s:= filename + '.png';
   909    s:= filename + '.png';
   910    tmpsurf:= IMG_Load(Str2PChar(s));
   910    tmpsurf:= IMG_Load(Str2PChar(s));
   911    end;
   911    end;