X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fimage.c;fp=src%2Flibgame%2Fimage.c;h=820b966cd9ae1036745082c9942d41aa3cad08a4;hb=4cd59cef0737229da365e385a8762e681a5e471f;hp=b26a508a20365c8aed5ee283421b87fff24963e8;hpb=1a41e7b2976c6486eb1412c55ed98c7fcc9f3e51;p=rocksndiamonds.git diff --git a/src/libgame/image.c b/src/libgame/image.c index b26a508a..820b966c 100644 --- a/src/libgame/image.c +++ b/src/libgame/image.c @@ -43,8 +43,8 @@ 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: %s", + filename, GetError()); free(img_info);