equal
deleted
inserted
replaced
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; |