fixed incorrect drawing of players which are moving next to each others
authorHolger Schemel <info@artsoft.org>
Sat, 26 Jan 2019 12:19:24 +0000 (13:19 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 26 Jan 2019 12:19:24 +0000 (13:19 +0100)
commit8a17d8c0525010b08531f8b9ee33173ce944b252
treedc73e152a51f82cd612de6bab12d40ddba7e3ff3
parent5d1b0bff6088d3b085ceac93f10e81a9ada99b47
fixed incorrect drawing of players which are moving next to each others

Before, players which were moving next to each others without a free
tile between them were drawn incorrectly (with (usually black)
background tile graphics partially drawn over one of the players).

This problem is now fixed by drawing all player tiles layer by layer
(first drawing the background tiles for all players, then drawing the
players, then drawing elements in front of the players etc.).
src/tools.c