projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030417-3-src
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index f0a2677636c8a7a18f2b576b1b5ba5da96aa89b8..ab66bdf21921c5f72f565bc67fea60ec5f2cafbb 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-749,15
+749,15
@@
void DrawPlayer(struct PlayerInfo *player)
/* ----------------------------------------------------------------------- */
/* handle the field the player is leaving ... */
/* ----------------------------------------------------------------------- */
/* 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);
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 */
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);
DrawLevelField(jx, jy);
- else if (IS_
PLAYER
_UNDER(element))
+ else if (IS_
ACCESSIBLE
_UNDER(element))
DrawLevelFieldThruMask(jx, jy);
if (setup.direct_draw)
DrawLevelFieldThruMask(jx, jy);
if (setup.direct_draw)