mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove dead code
This commit is contained in:
parent
ecc46799d4
commit
336c1b26d3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue