forked from rosebudai/OpenRCT2-Web
Fix path connection to ride entrances.
Fixes #1616. Small fix to queue chaining as well.
This commit is contained in:
1 parent
c067aee191
commit
2bdb32061b
1 file changed
+2
-2
@@ -931,7 +931,7 @@ static void loc_6A6D7E(
|
||||
|
||||
loc_6A6F1F:
|
||||
if (query) {
|
||||
if (sub_6E59DC(x, y, mapElement->base_height, mapElement->clearance_height, direction & 2)) {
|
||||
if (sub_6E59DC(x, y, mapElement->base_height, mapElement->clearance_height, direction ^ 2)) {
|
||||
return;
|
||||
}
|
||||
if (footpath_element_is_queue(mapElement)) {
|
||||
@@ -970,7 +970,7 @@ static void loc_6A6C85(
|
||||
return;
|
||||
|
||||
if (map_element_get_type(mapElement) == MAP_ELEMENT_TYPE_ENTRANCE) {
|
||||
if (entrance_has_direction(mapElement, (direction - mapElement->type) & 3)) {
|
||||
if (!entrance_has_direction(mapElement, (direction - mapElement->type) & 3)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user