X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fimage.c;h=1a61ff922ed15ce71d9b734f95e7f7ab80c184ea;hb=e5804efb99033c96d71c37ce89f60e1ee23b7004;hp=6bd09aa3bf1adedb7ed6ba67b4f8e8162d439da8;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/libgame/image.c b/src/libgame/image.c index 6bd09aa3..1a61ff92 100644 --- a/src/libgame/image.c +++ b/src/libgame/image.c @@ -4,7 +4,7 @@ // (c) 1995-2014 by Artsoft Entertainment // Holger Schemel // info@artsoft.org -// http://www.artsoft.org/ +// https://www.artsoft.org/ // ---------------------------------------------------------------------------- // image.c // ============================================================================ @@ -43,8 +43,7 @@ static void *Load_Image(char *filename) if ((img_info->bitmaps[IMG_BITMAP_STANDARD] = LoadImage(filename)) == NULL) { - Error(ERR_WARN, "cannot load image file '%s': LoadImage() failed: %s", - filename, GetError()); + Warn("cannot load image file '%s': LoadImage() failed", filename); free(img_info);