fixed redraw problems if screen field is much larger than playfield
authorHolger Schemel <info@artsoft.org>
Tue, 8 Feb 2022 16:48:52 +0000 (17:48 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 8 Feb 2022 16:53:32 +0000 (17:53 +0100)
commitbe4120e388ba1c192713e675144136ea644fa712
tree1b65508fe2818ccf0a29f2adc10d7a1127630039
parent8fe5772614b88c44ecfba69086459a76a7b1cf30
fixed redraw problems if screen field is much larger than playfield

This change prevents accessing graphic frames outside of bitmaps due
to negative bitmap positions, which can be caused by custom artwork
using a screen size that is significantly larger than the playfield.
src/tools.c