From: Holger Schemel Date: Sun, 8 Oct 2023 11:46:18 +0000 (+0200) Subject: fixed bug with CE change setting the player to its current position X-Git-Tag: 4.3.7.0~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3f0fff81d235d4259a00b504e24a29f3171fb5bb;hp=3f0fff81d235d4259a00b504e24a29f3171fb5bb;p=rocksndiamonds.git fixed bug with CE change setting the player to its current position This change fixes a bug where a CE change places the player at the current player position, causing an explosion at that playfield position, which should not happen. In other words, such an event would normally relocate the player, but to a playfield position which is identical to the current playfield position of the player, which should therefore have no effect at all. The bug occured because it was not checked if the new element to be created is the player itself, but only checks if an element that is not walkable by the player is created at the players current position. ---