1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Fix #2887. Queues now correctly invalidate when breaking a chain

This commit is contained in:
duncanspumpkin
2016-03-03 22:01:11 +00:00
parent 4c6c354093
commit 1033e988d3

View File

@@ -1371,6 +1371,8 @@ void footpath_chain_ride_queue(int rideIndex, int entranceIndex, int x, int y, r
mapElement->properties.path.additions &= 0x8F;
mapElement->properties.path.additions |= (entranceIndex & 7) << 4;
map_invalidate_element(x, y, mapElement);
if (lastQueuePathElement == NULL) {
lastQueuePathElement = mapElement;
}