fixed bug with redrawing state changes for "game of life" style elements
authorHolger Schemel <info@artsoft.org>
Wed, 10 Oct 2018 17:51:04 +0000 (19:51 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 10 Oct 2018 17:58:33 +0000 (19:58 +0200)
The cause for this bug was checking the "Stop[][]" field for deciding
if a "game of life" style element has changed and needs to be redrawn,
but with the current implementation (which is in fact not correct), it
may happen that the same element changes twice in the same game frame,
causing the corresponding graphics not be updated again (and therefore
showing the wrong state).

Directly comparing the new with the old state fixes this problem.


No differences found