mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
committed by
GitHub
parent
1b7639238a
commit
e53d76ae2e
@@ -965,7 +965,7 @@ void Guest::Tick128UpdateGuest(int32_t index)
|
||||
break;
|
||||
if (tileElement->GetType() != TILE_ELEMENT_TYPE_PATH)
|
||||
continue;
|
||||
if (tileElement->GetBaseZ() == NextLoc.z)
|
||||
if (tileElement->GetBaseZ() != NextLoc.z)
|
||||
continue;
|
||||
|
||||
// Check if the footpath has a queue line TV monitor on it
|
||||
|
||||
@@ -1663,7 +1663,7 @@ static int32_t peep_update_patrolling_find_watering(Peep* peep)
|
||||
continue;
|
||||
}
|
||||
|
||||
uint8_t z_diff = abs(peep->NextLoc.z - tile_element->GetBaseZ());
|
||||
auto z_diff = abs(peep->NextLoc.z - tile_element->GetBaseZ());
|
||||
|
||||
if (z_diff >= 4 * COORDS_Z_STEP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user