rnd-20030417-3-src
[rocksndiamonds.git] / src / tools.c
index f0a2677636c8a7a18f2b576b1b5ba5da96aa89b8..ab66bdf21921c5f72f565bc67fea60ec5f2cafbb 100644 (file)
@@ -749,15 +749,15 @@ void DrawPlayer(struct PlayerInfo *player)
   /* ----------------------------------------------------------------------- */
 
   /* handle the field the player is leaving ... */
-  if (player_is_moving && IS_PLAYER_INSIDE(last_element))
+  if (player_is_moving && IS_ACCESSIBLE_INSIDE(last_element))
     DrawLevelField(last_jx, last_jy);
-  else if (player_is_moving && IS_PLAYER_UNDER(last_element))
+  else if (player_is_moving && IS_ACCESSIBLE_UNDER(last_element))
     DrawLevelFieldThruMask(last_jx, last_jy);
 
   /* ... and the field the player is entering */
-  if (IS_PLAYER_INSIDE(element))
+  if (IS_ACCESSIBLE_INSIDE(element))
     DrawLevelField(jx, jy);
-  else if (IS_PLAYER_UNDER(element))
+  else if (IS_ACCESSIBLE_UNDER(element))
     DrawLevelFieldThruMask(jx, jy);
 
   if (setup.direct_draw)