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
1 changed files with 2 additions and 0 deletions

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;
}