diff --git a/distribution/changelog.txt b/distribution/changelog.txt index e1e7e49615..48c025dfc1 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -2,6 +2,7 @@ ------------------------------------------------------------------------ - Feature: [#25218] `sprite exportobject` command, which allows extracting images from an object. - Improved: [#2296, #2307] The land tool now takes sloped track and paths into account when modifying land. +- Change: [#25111] Frozen guests no longer finish consuming any food or drink they are carrying. - Change: [#25161] Revert to the ‘fair ride price’ calculation of vanilla RCT2. - Change: [#25228] [Plugin] The available staff costumes array is now ordered alphabetically by name. - Removed: [#25225] `sprite exportalldat`, replaced with `sprite exportobject`. diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index 5775f430a1..96ebc7070a 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -924,7 +924,8 @@ void Guest::UpdateConsumptionMotives() void Guest::Tick128UpdateGuest(uint32_t index) { const auto currentTicks = getGameState().currentTicks; - if ((index & 0x1FF) != (currentTicks & 0x1FF)) + const bool ticksMatchIndex = (index & 0x1FF) != (currentTicks & 0x1FF); + if (ticksMatchIndex && !(PeepFlags & PEEP_FLAGS_POSITION_FROZEN)) { UpdateConsumptionMotives(); return;