projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed warnings and debug output to use new generic logging functions
[rocksndiamonds.git]
/
src
/
libgame
/
image.c
diff --git
a/src/libgame/image.c
b/src/libgame/image.c
index b26a508a20365c8aed5ee283421b87fff24963e8..820b966cd9ae1036745082c9942d41aa3cad08a4 100644
(file)
--- 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)
{
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);
free(img_info);