changed warnings and debug output to use new generic logging functions
[rocksndiamonds.git] / src / libgame / image.c
index b26a508a20365c8aed5ee283421b87fff24963e8..820b966cd9ae1036745082c9942d41aa3cad08a4 100644 (file)
@@ -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);