rnd-20020407-1-src
[rocksndiamonds.git] / src / libgame / sdl.c
index c4e15425714a15688d48be46db37e1762cb58a96..ef68a08e90f408b2658ce2df76c18bed010563ba 100644 (file)
@@ -853,6 +853,9 @@ Bitmap *SDLLoadImage(char *filename)
   /* free temporary surface */
   SDL_FreeSurface(sdl_image_tmp);
 
+  new_bitmap->width = new_bitmap->surface->w;
+  new_bitmap->height = new_bitmap->surface->h;
+
   return new_bitmap;
 }