mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-23 09:06:45 -05:00
Magic fill Y check fix (#75)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user