mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
ULTIMA8: Limit adjoined occlusion squares to 4x4.
This appears sufficient to occlude all items below on smaller roof tiles.
This commit is contained in:
parent
ab851fad40
commit
f6d4a1a42d
@ -305,8 +305,8 @@ void ItemSorter::PaintDisplayList(RenderSurface *surf, bool item_highlight, bool
|
||||
int32 group = si1->_itemNum;
|
||||
si1->_groupNum = group;
|
||||
|
||||
// Expand NxN adjoined square
|
||||
for (int n = 2; n < 6; n++) {
|
||||
// Expand NxN adjoined square - up to 4x4 appears sufficient
|
||||
for (int n = 2; n <= 4; n++) {
|
||||
// Expand out 1 from X and Y edge points
|
||||
SortItem *p1 = siX->_xAdjoin;
|
||||
SortItem *p2 = siY->_yAdjoin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user