Fix conveyor belt redraw logic error

This commit is contained in:
2025-05-19 09:37:04 -05:00
parent 7d627c843e
commit e1e147f0e1

View File

@@ -1725,10 +1725,10 @@ void push_things() {
}
}
if(l != univ.town.monst[i].cur_loc) {
univ.town.monst[i].cur_loc = l;
if((point_onscreen(center,univ.town.monst[i].cur_loc)) ||
(point_onscreen(center,l)))
redraw = true;
univ.town.monst[i].cur_loc = l;
}
}
for(short i = 0; i < univ.town.items.size(); i++)
@@ -1744,10 +1744,10 @@ void push_things() {
}
}
if(l != univ.town.items[i].item_loc) {
univ.town.items[i].item_loc = l;
if((point_onscreen(center,univ.town.items[i].item_loc)) ||
(point_onscreen(center,l)))
redraw = true;
univ.town.items[i].item_loc = l;
}
}