1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix formatting

This commit is contained in:
Hielke Morsink
2024-01-25 14:27:40 +01:00
parent 74d61369be
commit ad4bc0dd10
2 changed files with 4 additions and 3 deletions

View File

@@ -9,11 +9,11 @@
#include "ParkEntranceRemoveAction.h"
#include "../GameState.h"
#include "../OpenRCT2.h"
#include "../management/Finance.h"
#include "../world/Entrance.h"
#include "../world/Park.h"
#include "../GameState.h"
using namespace OpenRCT2;

View File

@@ -1884,8 +1884,9 @@ static bool PeepInteractWithEntrance(Peep* peep, const CoordsXYE& coords, uint8_
}
bool found = false;
auto entrance = std::find_if(
gameState.ParkEntrances.begin(), gameState.ParkEntrances.end(), [coords](const auto& e) { return coords.ToTileStart() == e; });
auto entrance = std::find_if(gameState.ParkEntrances.begin(), gameState.ParkEntrances.end(), [coords](const auto& e) {
return coords.ToTileStart() == e;
});
if (entrance != gameState.ParkEntrances.end())
{
int16_t z = entrance->z / 8;