fixed crash bug caused by accessing invalid (off-playfield) array positions
authorHolger Schemel <info@artsoft.org>
Tue, 8 Feb 2022 16:05:47 +0000 (17:05 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 8 Feb 2022 16:05:47 +0000 (17:05 +0100)
commit8fe5772614b88c44ecfba69086459a76a7b1cf30
tree034a6b7f24bfe11f244e8ede1151e68045d77cf7
parentb71e46505e5e3dc2213e67124dd1d245ca7a2cbb
fixed crash bug caused by accessing invalid (off-playfield) array positions

This bug caused accessing array "GfxFrame[][]" out of bounds if level
position is not inside the playfield. (This is always the case when
invoked from "DrawScreenElementExt()" for level border elements.
src/tools.c