projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030417-2-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 338e670b5f686b818847cef68dc46279d0cbfd7e..fb479b0e964d2086a206fd79e217ab23fc2ae3fb 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-5030,7
+5030,7
@@
static void CheckGravityMovement(struct PlayerInfo *player)
if (field_under_player_is_free &&
!player_is_moving_to_valid_field &&
if (field_under_player_is_free &&
!player_is_moving_to_valid_field &&
- !IS_WALKABLE_
UNDER
(Feld[jx][jy]))
+ !IS_WALKABLE_
THROUGH
(Feld[jx][jy]))
player->programmed_action = MV_DOWN;
}
}
player->programmed_action = MV_DOWN;
}
}
@@
-5316,7
+5316,7
@@
void ScrollFigure(struct PlayerInfo *player, int mode)
if (player->MovPos == 0)
{
if (player->MovPos == 0)
{
- if (IS_
WALKABLE_THROUGH
(Feld[last_jx][last_jy]))
+ if (IS_
PASSABLE
(Feld[last_jx][last_jy]))
{
/* continue with normal speed after quickly moving through gate */
HALVE_PLAYER_SPEED(player);
{
/* continue with normal speed after quickly moving through gate */
HALVE_PLAYER_SPEED(player);
@@
-5706,7
+5706,7
@@
int DigField(struct PlayerInfo *player,
if (IS_MOVING(x, y) || IS_PLAYER(x, y))
return MF_NO_ACTION;
if (IS_MOVING(x, y) || IS_PLAYER(x, y))
return MF_NO_ACTION;
- if (IS_
WALKABLE_UNDER
(Feld[jx][jy]))
+ if (IS_
TUBE
(Feld[jx][jy]))
{
int i = 0;
int tube_leave_directions[][2] =
{
int i = 0;
int tube_leave_directions[][2] =