mirror of
https://github.com/huderlem/porymap.git
synced 2026-07-02 00:02:04 -05:00
Magic fill Y check fix (#75)
This commit is contained in:
parent
4b7bf87da1
commit
bd9fc001b4
|
|
@ -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 New Issue
Block a user