rnd-20050115-1-src
[rocksndiamonds.git] / src / tools.c
index 1f857f6bc095190c1d27eff371dd68a85bb66d41..15841b17a993c0c85060d5d0ab64fd5203bb3801 100644 (file)
@@ -126,12 +126,9 @@ void RedrawPlayfield(boolean force_redraw, int x, int y, int width, int height)
   if (game_status == GAME_MODE_PLAYING &&
       level.game_engine_type == GAME_ENGINE_TYPE_EM)
   {
-    RedrawPlayfield_EM();
-
-    return;
+    BlitScreenToBitmap_EM(backbuffer);
   }
-
-  if (game_status == GAME_MODE_PLAYING && !game.envelope_active)
+  else if (game_status == GAME_MODE_PLAYING && !game.envelope_active)
   {
     if (force_redraw)
     {
@@ -4049,7 +4046,7 @@ em_object_mapping_list[] =
     EL_AMOEBA_DRY,                     ACTION_OTHER, -1
   },
   {
-    Xamoeba_5,                         FALSE,  FALSE,
+    Xamoeba_5,                         TRUE,   FALSE,
     EL_AMOEBA_WET,                     ACTION_OTHER, -1
   },
   {
@@ -5956,7 +5953,7 @@ void InitGraphicInfo_EM(void)
        int cx = ABS(dx) * TILEX / 8;
        int cy = ABS(dy) * TILEY / 8;
 
-       if (is_backside)                /* tile where movement starts */
+       if (is_backside)        /* tile where movement starts */
        {
          if (dx < 0 || dy < 0)
          {