rnd-20070316-1-src
[rocksndiamonds.git] / src / tools.c
index 558e83a61c2a54413394bdeb417220def55948fb..6529d447a61ecad013805180c6b6f7160d062450 100644 (file)
@@ -242,8 +242,7 @@ void DrawMaskedBorder_ALL()
 void DrawMaskedBorder(int redraw_mask)
 {
   /* do not draw masked screen borders when displaying title screens */
-  if (effectiveGameStatus() == GAME_MODE_TITLE ||
-      effectiveGameStatus() == GAME_MODE_MESSAGE)
+  if (effectiveGameStatus() == GAME_MODE_TITLE)
     return;
 
   if (redraw_mask & REDRAW_ALL)
@@ -1766,11 +1765,7 @@ static void DrawPreviewLevelExt(int from_x, int from_y)
   int real_preview_xsize = MIN(level_xsize, preview.xsize);
   int real_preview_ysize = MIN(level_ysize, preview.ysize);
   int dst_x = SX + ALIGNED_XPOS(preview.x, preview_width, preview.align);
-#if 1
   int dst_y = SY + ALIGNED_YPOS(preview.y, preview_height, preview.valign);
-#else
-  int dst_y = SY + preview.y;
-#endif
   int x, y;
 
   DrawBackground(dst_x, dst_y, preview_width, preview_height);