Merge pull request #4503 from zaxcav/fixGetQueueEnd

get_ride_queue_end() fails for some ride queues
This commit is contained in:
Duncan authored and GitHub committed 2016-09-30 06:43:21 +01:00
commit acaa0d3dd0
1 file changed
+1 -1
+1 -1
View File
@@ -9267,7 +9267,7 @@ static void get_ride_queue_end(sint16 *x, sint16 *y, sint16 *z){
if (!footpath_element_is_sloped(mapElement))
break;
if (footpath_element_get_slope_direction(mapElement) != direction)
if (footpath_element_get_slope_direction(mapElement) != (direction ^ 2))
break;
baseZ -= 2;