mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Fix formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user