projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with reanimating killed player by CE condition
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 9e0327a491eac158a6907012e052b900287183eb..d67a91a0b8c743ba46cbb55d245067f314897fa4 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-1785,7
+1785,7
@@
static void InitPlayerField(int x, int y, int element, boolean init_game)
player->jy = player->last_jy = y;
}
- if (!init_game)
+ // always check if player was just killed and should be reanimated
{
int player_nr = GET_PLAYER_NR(element);
struct PlayerInfo *player = &stored_player[player_nr];