Remove dead code

This commit is contained in:
ζeh Matt 2024-02-22 23:04:58 +02:00
parent ecc46799d4
commit 336c1b26d3
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 0 additions and 9 deletions

View File

@ -541,15 +541,6 @@ namespace OpenRCT2::PathFinding
if (peep.Is<Staff>())
return 8;
// PEEP_FLAGS_2? It's cleared here but not set anywhere!
if ((peep.PeepFlags & PEEP_FLAGS_2))
{
if ((ScenarioRand() & 0xFFFF) <= 7281)
peep.PeepFlags &= ~PEEP_FLAGS_2;
return 8;
}
auto* guest = peep.As<Guest>();
if (guest == nullptr)
return 8;