Skip to content

Commit

Permalink
Fix #2887. Queues now correctly invalidate when breaking a chain
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanspumpkin committed Mar 3, 2016
1 parent 4c6c354 commit 1033e98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/world/footpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1033e98

Please sign in to comment.