Magic fill Y check fix (#75)
This commit is contained in:
parent
4b7bf87da1
commit
bd9fc001b4
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ void MapPixmapItem::magicFill(QGraphicsSceneMouseEvent *event) {
|
|||
QPoint selectionDimensions = this->metatileSelector->getSelectionDimensions();
|
||||
uint16_t tile = block->tile;
|
||||
|
||||
for (int y = 0; y < map->getWidth(); y++) {
|
||||
for (int y = 0; y < map->getHeight(); y++) {
|
||||
for (int x = 0; x < map->getWidth(); x++) {
|
||||
Block *block = map->getBlock(x, y);
|
||||
if (block && block->tile == tile) {
|
||||
|
|
Loading…
Reference in a new issue