rnd-20140212-1-src
[rocksndiamonds.git] / src / libgame / system.c
index f08c88c762aa1519e71965eee0e58f6a2b92eb1a..9ac05663bfc373f59d4dd6d73756d65663a2a67c 100644 (file)
@@ -685,6 +685,9 @@ void BlitBitmap(Bitmap *src_bitmap, Bitmap *dst_bitmap,
   int dst_x_unclipped = dst_x;
   int dst_y_unclipped = dst_y;
 
+  if (src_bitmap == NULL || dst_bitmap == NULL)
+    return;
+
   if (DrawingDeactivated(dst_x, dst_y, width, height))
     return;