mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Added condition for max y placement
This commit is contained in:
parent
c8b69868b5
commit
ad7e1431d0
@ -59,7 +59,7 @@ TopLevelSort:
|
||||
}
|
||||
}
|
||||
|
||||
if (!contains) break TopLevelSort;
|
||||
if (!contains && y + item.base.invheight - 1 < height) break TopLevelSort;
|
||||
}
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ TopLevelSort:
|
||||
}
|
||||
}
|
||||
|
||||
if (!contains) break TopLevelSort;
|
||||
if (!contains && y + item.base.invheight - 1 < height) break TopLevelSort;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user