don't pass the entire tile object to changeMatrix

This commit is contained in:
Konstantin Käfer
2014-01-30 12:37:16 +01:00
parent 6a343494ec
commit bc07cb4b26
3 changed files with 5 additions and 5 deletions

View File

@@ -294,6 +294,7 @@ bool Map::render() {
for (Tile::Ptr& tile : tiles) {
assert(tile);
if (tile->state == Tile::ready) {
painter.changeMatrix(tile->id);
painter.render(tile);
}
}