--- deliantra/Deliantra-Client/Client.xs 2006/04/15 01:13:46 1.40 +++ deliantra/Deliantra-Client/Client.xs 2006/04/15 01:52:53 1.41 @@ -219,11 +219,11 @@ : SDL_RWFromConstMem (image, image_len); if (!rw) - croak ("load_image: unable to open file"); + croak ("load_image: %s", SDL_GetError ()); surface = IMG_Load_RW (rw, 1); if (!surface) - croak ("load_image: unable to read file"); + croak ("load_image: %s", SDL_GetError ()); fmt.palette = NULL; fmt.BitsPerPixel = 32;