mirror of https://github.com/OpenRCT2/OpenRCT2.git
Apply suggestions from code review
This commit is contained in:
parent
677bd119cf
commit
27f47e1407
|
@ -6353,8 +6353,8 @@ CoordsXYZD ride_get_entrance_or_exit_position_from_screen_position(ScreenCoordsX
|
|||
auto direction = loc_6CD18E(
|
||||
entranceExitCoords.x, entranceExitCoords.y, entranceMinX - 32, entranceMinY - 32, entranceMaxX + 32,
|
||||
entranceMaxY + 32);
|
||||
if (direction != -1 && entranceExitCoords.direction != stationDirection
|
||||
&& entranceExitCoords.direction != direction_reverse(stationDirection))
|
||||
if (direction != -1 && direction != stationDirection
|
||||
&& direction != direction_reverse(stationDirection))
|
||||
{
|
||||
entranceExitCoords.direction = direction;
|
||||
gRideEntranceExitPlaceDirection = entranceExitCoords.direction;
|
||||
|
|
Loading…
Reference in New Issue