From: Holger Schemel Date: Wed, 12 Aug 2020 18:56:01 +0000 (+0200) Subject: fixed bug with reanimating killed player by CE condition X-Git-Tag: 4.2.0.0^0 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=60905b7f08ae9a2c88299731a8ce490c31d8b6e0;hp=60905b7f08ae9a2c88299731a8ce490c31d8b6e0;p=rocksndiamonds.git fixed bug with reanimating killed player by CE condition When checking for CE condition "explosion of " using the player as , it is possible to create a new player right after the player died (exploded). However, this only worked when directly changing the CE to the player, but not when using an extended change target (to create the player on some adjacent tile next to the CE) that puts the new player on a tile that is walkable (which is especially true for tiles that are empty). This change fixes this bug. (The problematic code is in function "CreateFieldExt()", but always checking for reanimating a killed player in "InitPlayerField()" seems to be the better (more clean) fix for this bug.) ---