diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 73e15ce5de..ded3e654e1 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -21,6 +21,7 @@ - Fix: [#21178] Inca Lost City’s scenario description incorrectly states there are height restrictions. - Fix: [#21179] Additional missing land/construction rights tiles in Inca Lost City & Renovation. - Fix: [#21198] [Plugin] Setting brake or booster speeds on a tile element doesn’t work. +- Fix: [#21291] Hungry guests heading to any flat ride do not count for warning threshold (original bug). 0.4.7 (2023-12-31) ------------------------------------------------------------------------ diff --git a/src/openrct2/entity/Peep.cpp b/src/openrct2/entity/Peep.cpp index 7b2c805cc4..e569f4a53a 100644 --- a/src/openrct2/entity/Peep.cpp +++ b/src/openrct2/entity/Peep.cpp @@ -1075,7 +1075,7 @@ void PeepProblemWarningsUpdate() break; } ride = GetRide(peep->GuestHeadingToRideId); - if (ride != nullptr && !ride->GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_FLAT_RIDE)) + if (ride != nullptr && !ride->GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_SELLS_FOOD)) hungerCounter++; break;