fixed bug with causing explosion instead of killing player directly
[rocksndiamonds.git] / src / game.c
index ea30528996c15d9b1a706d899d0d6f0853dd5bd7..ef117c8fa9409fc9bc4e63b6878a1e5e022c185b 100644 (file)
@@ -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;
     }