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 causing explosion instead of killing player directly
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index ea30528996c15d9b1a706d899d0d6f0853dd5bd7..ef117c8fa9409fc9bc4e63b6878a1e5e022c185b 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-10648,7
+10648,7
@@
static void CreateFieldExt(int x, int y, int element, boolean is_change)
if (IS_PLAYER(x, y) && !player_explosion_protected &&
IS_ACCESSIBLE(old_element) && !IS_ACCESSIBLE(new_element))
{
-
Bang(x, y
);
+
KillPlayer(PLAYERINFO(x, y)
);
return;
}