projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
white space changes
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_caveengine.c
diff --git
a/src/game_bd/bd_caveengine.c
b/src/game_bd/bd_caveengine.c
index 61f71d37dd28dd32ca84a34518b3efd96b662ca2..fd5b3f05cf7cacd45c60c463aa579b062e29a949 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-3040,6
+3040,7
@@
void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
}
}
else
}
}
else
+ {
// or space over the slime? elements may pass from bottom to up then.
if (is_space_dir(cave, x, y, oppos))
{
// or space over the slime? elements may pass from bottom to up then.
if (is_space_dir(cave, x, y, oppos))
{
@@
-3063,6
+3064,7
@@
void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
play_sound_of_element(cave, O_SLIME, x, y);
}
}
play_sound_of_element(cave, O_SLIME, x, y);
}
}
+ }
}
break;
}
break;
@@
-3470,7
+3472,7
@@
void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
// PLAYER
// check if player is alive.
// PLAYER
// check if player is alive.
- if ((cave->player_state == GD_PL_LIVING && cave->player_seen_ago > 1
5
) || cave->kill_player)
+ if ((cave->player_state == GD_PL_LIVING && cave->player_seen_ago > 1) || cave->kill_player)
cave->player_state = GD_PL_DIED;
// check if any voodoo exploded, and kill players the next scan if that happended.
cave->player_state = GD_PL_DIED;
// check if any voodoo exploded, and kill players the next scan if that happended.